-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
g.extension: sparse checkout with history for fast commit log access #3051
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works as expected.
This code line required changes too.
Line 712 in 2ca49e6
"--filter=tree:0", |
Small note:
With blob:none
change size of downloaded data from 2.6M to 6.5M.
…SGeo#3051) * checkout history * sparse checkout history
Cannot be backported to 8.2 directly, should be added to a bunch of g.extension-fixes that should be backported... |
…SGeo#3051) * checkout history * sparse checkout history
…SGeo#3051) * checkout history * sparse checkout history
git -log -1
is slow with sparse checkout if--filter=tree:0
is used because history is not checked out. Cloning is similarly fast with--filter=blob:none
but then the history is checked out too andgit log -1
should be fast again.Please try e.g.:
Fixes #2979
I marked this as blocker as 30 seconds wait time per addon is a pretty bad user experience. Feel free to remove the label if you disagree...