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
git diff slow, git status fine - regression post 2.40.1 #4574
Comments
@clach04 could you see whether |
@dscho Interesting, "bad versions" are slow. Good versions fast/quick. I.e. slow
|
Oh crap, this is looking like #4459 after all! Thanks @dscho . I tried using the windows more:
as a potential work around with no luck :-( I also tried using less from the faster 40.1 release, again no success. I guess there is more msys usage going on under the covers:
|
I'll check this again on next release now #4459 is fixed. |
That's too late. It would be better to check with the build artifact of https://github.com/git-for-windows/msys2-runtime/actions/runs/6003432176#artifacts to help whip out a solid next release. |
@dscho 👍 I've upgraded to https://github.com/git-for-windows/git/releases/tag/v2.42.0.windows.1 Saw same performance/slow-down. Grabbed zip from https://github.com/git-for-windows/msys2-runtime/actions/runs/6003432176#artifacts - extracted into Git directory, performance back to normal:
|
I think it is reasonable to state that this is another manifestation of #4459 - I'll leave open and let someone else make decision about closing. |
Final validation. Tested fine with (latest) git version 2.42.0.windows.2 from https://github.com/git-for-windows/git/releases/tag/v2.42.0.windows.2 :-) |
Summary
git diff
is slow after Git-2.40.1, for a tiny checkout,git status
is fine (so not #3318). Seen with Git-2.41.0.3-64-bit and latest (as of 2023-08-25) Git-2.42.0-64-bit. Not a problem in Git-2.26.2-64-bit and Git-2.40.1-64-bit (my current workaround). Boilerplate below.Setup
defaults?
I think defaults other than using Windows 10 OpenSSH.
to the issue you're seeing?
Nothing interesting! Super small checkout
Details
Doesn't matter, I've limited by test case below to CMD but bash is the same (and easier to time) BUT I don't want to confuse the issue with #4459
Minimal, Complete, and Verifiable example
this will help us understand the issue.
For this repo essentially instant (empty) response
3-4 second delay on git diff
URL to that repository to help us with testing?
It is not specific to a repo, but you are welcome to use this super small repo for testing
https://github.com/clach04/w2d.git
The text was updated successfully, but these errors were encountered: