-
-
Notifications
You must be signed in to change notification settings - Fork 41
After update to v3.9.1.37, “Show the diff” feature is unusable (VS 2017) #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @HamRusTal to report that, I htink I just reproduced that this morning on my machine! I will have a look asap, hopefully this evening! |
Great!
Looking forward to your findings! P.S. |
Yeah it is VS 2019 |
In the meantime, is there any API in the Visual Studio for the extension to open exactly the Git Diff window/pane which opens from “Team Explorer - Changes”?
|
I identified the issue but I cannot make sense of it! What makes no sense to me is that this GitDiffMargin code didn't change since last release and looking at the code of LibGit2Sharp it is the same! |
Pls @HamRusTal open an other issue so that we do mix topics, thx |
LibGit2Sharp did change its behavior at some point, but I don't remember when. (Many years ago.) If you moved from a very old version to something more recent then that could indefed be the culprit. |
Thanks for the super fast answer @ethomson |
Yes, I'm also surprised by this. |
@laurentkempe Why I asked this here is because if there is such an API, it might make sense to use that instead of fixing your own implementation of the same functionality (which is not quite on par yet). |
@HamRusTal We are using the same VS API to show the diff and it is those are the same windows See at the top the one from Changes and at the bottom the one from GitDiffMargin
|
Great! I'll file the issues separately (sooner or later). |
It works as before now, thank you! |
I was using v3.9.0.0 in VS 15.9.7 (configured for C++ development) and everything worked great (thanks!).
Yesterday, VS auto-updated Git-related extensions (GitHub and GitDiffMargin), and after that whenever I open the Diff from GitDiffMargin's pop-up Actions menu, it shows as if the original file is empty and the entire text is added anew (both for C# and C++ projects). VS's built-in Diff (opened from Team Explorer - Changes) works fine as before. Uninstalling and reinstalling GitDiffMargin does not help.
The text was updated successfully, but these errors were encountered: