by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:49
    codecov[bot] commented #8414
  • 04:49
    codecov[bot] commented #8414
  • 04:48
    codecov[bot] commented #8414
  • 04:48
    codecov[bot] commented #8414
  • 04:48
    codecov[bot] commented #8414
  • 04:48
    codecov[bot] commented #8414
  • 04:46
    codecov[bot] commented #8414
  • 04:46
    codecov[bot] commented #8414
  • 04:46
    codecov[bot] commented #8414
  • 04:45
    codecov[bot] commented #8414
  • 04:44
    codecov[bot] commented #8414
  • 04:44
    codecov[bot] commented #8414
  • 04:43
    codecov[bot] commented #8414
  • 04:43
    codecov[bot] commented #8414
  • 04:29
    RussKie synchronize #8414
  • 04:27
    RussKie commented #8414
  • 04:26
    RussKie review_requested #8414
  • 04:26
    RussKie review_requested #8414
  • 04:25
    RussKie synchronize #8414
  • 04:24
    RussKie edited #8414
Gerhard Olsson
@gerhardol
To switch between contexts, use worktrees.
Stashes are useful to save files for temporary explorations, to insert issues etc
For more permanent info, use branches
GE shows one stash by default, see reflog to see all (as anonymous refs)
To see stashes without reflogs, stashes and log must be retrieved separately, why the graph cannot be displayed until all is listed instead of starting to display the graph immediately
Xavi Montero
@xmontero
Hey friends! Thanks for pointing out that GE seems to support it. I do the workflow that @mterwoord says: stash, switch and then switch back and apply. I did not know those "worktrees" thing but as far as I could read, worktrees only work in different branches; and sometimes that's not the case; but worth knowing.
I'll give a try to GE to see if it matches our day-to-day flow! Thanks!
Other thing... I've seen there are two MSIs... the GitExtensions-3.4.1.9675-f49b4d059-resigned.msi and the GitExtensions-3.4.1.9675-f49b4d059.msi - I've been in software for 30+ years and never saw this "resigned" thing before. Which are the differences between them?
Xavi Montero
@xmontero
In fact looking for ["resigned msi"] in google gives exactly 7 results 🤣🤣
Gerhard Olsson
@gerhardol
Short answer: Use 3.4.2 with only one msi
(the resigned msi was an experiment I believe as some virusscanners detected a very old unchanged .exe as potential threat)
Igor Velikorossov
@RussKie
:point_up: what Gerhard said
"Resigned" is the same msi with its payload signed differently.
Anyway 3.4.2 is here, so grab it instead
Ivan Kochurkin
@KvanTTT
Hi! Is it possible to make theme changing without reloading?
Igor Velikorossov
@RussKie
I think @nikolayxhd looked at it, and there was something preventing it
...but may be it is possible... don't know
how often do you think you'll be changing the theme?
Ivan Kochurkin
@KvanTTT
It's sad. I would like the theme was bound to the system theme. I use light theme at daytime and dark theme at night. VSCode, Rider, Skype, Chrome and other programs support that.
I don't want to change the theme every time and reload GE.
Igor Velikorossov
@RussKie
right
we're using a custom theme, as windows forms don't support OS theming
Ivan Kochurkin
@KvanTTT
As I understand it's not about windows forms, it's about Windows API.
Igor Velikorossov
@RussKie
i guess you could chime on the PR that added the theming, and wait for Nikolay to respond. gitextensions/gitextensions#7213
or have a look in the code yourself :P
George Tisdelle
@gtisdelle
Hi! Is anyone else having troubles running the NUnit test suite? I have the test adapter for VS, but I'm getting a weird 'Invalid Condition' error in a GitUI test. I'm on the master branch's head revision and haven't even made any changes yet.
Igor Velikorossov
@RussKie
No
Can you run tests from a cli? .\build.cmd -test
George Tisdelle
@gtisdelle
That worked perfectly! I guess the problem is with Visual Studio. Thanks for your help!
raptoravis
@raptoravis
Hi, all, does GE support lfs file locking and unlocking? if not, could someone give a clue where to modify to support this?
Gerhard Olsson
@gerhardol
@raptoravis There is no support in the tool to lfs lock/unlock.
The question is, where would it make sense to support it? If you use it, you probably know the best where it is relevant.
This would be relevant for HEAD revision I assume, in the shell integration maybe.
Open an issue with details.
raptoravis
@raptoravis
@gerhardol thanks for your reply, I managed to add lock/unlock in https://github.com/raptoravis/gitextensions, and I will make a PR sometime later. but, the setup package can't be generated due to “Product.wxs(524): error LGHT0103: The system cannot find the file 'D:\dev\gitextensions.git\artifacts\bin\GitExtens
ionsShellEx\Win32\Debug\GitExtensionsShellEx32.dll'. [D:\dev\gitextensions.git\Setup\Setup.wixproj]”
raptoravis
@raptoravis
@gerhardol I managed to generate the setup package as well. thanks anyway
Igor Velikorossov
@RussKie
cibuild.cmd -restore -build -buildNative -publish
raptoravis
@raptoravis
image.png
image.png
@RussKie thanks , yes, that is right.
@RussKie @gerhardol now I added items to chlMenuEntries in GitUI\CommandsDialogs\SettingsDialog\Pages\ShellExtensionSettingsPage.Designer.cs,but, how can I bind an event handler to it? sorry that I can't find it.
Igor Velikorossov
@RussKie
is there an open PR to look at?
raptoravis
@raptoravis
lock and unlock have already been added to File tree, it is in https://github.com/raptoravis/gitextensions, the PR is not created yet. but, I still need to add them in the shell, my last question is about the shell
image.png
Igor Velikorossov
@RussKie
please raise a PR, much easier to review and comment
raptoravis
@raptoravis
as illustrated, Lock and UnLock are appended to chlMenuEntries, but weirdly enough, I can't find where to bind an event handlers.
Matthijs ter Woord
@mterwoord
its mentioned on line 121?
raptoravis
@raptoravis
but, in this PR, the lock and unlocks have not yet added to shell, I still can't manage to do it.
@mterwoord 115 and 116
Matthijs ter Woord
@mterwoord
i meant the method to use to handle things
seems to be chlMenuEntries_SelectedValueChanged ?
raptoravis
@raptoravis
it seems, Line 121, chlMenuEntries_SelectedValueChanged is used to update the menu's display, it is not the event handler.
Matthijs ter Woord
@mterwoord
no idea then, sorry :-)
raptoravis
@raptoravis
when I package a setup, which file to change to update the version number?
image.png
after I change these numbers, it seems taking effect, but, is there a better way to do it?
Igor Velikorossov
@RussKie
try passing -version when invoke build.cmd
it's been awhile since i implemented this

as illustrated, Lock and UnLock are appended to chlMenuEntries, but weirdly enough, I can't find where to bind an event handlers.

Shell extensions are implemented in a separate project GitExtensionsShellEx, I'm guessing you'd need to look in there

GitExtensionsShellEx.cpp lines around 500ish
raptoravis
@raptoravis
@RussKie thanks very much, that really give a light!
and, btw, how can I debug git extension shell?