-
Notifications
You must be signed in to change notification settings - Fork 630
installer: offer the builtin stash/rebase as experimental options #203
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
installer: offer the builtin stash/rebase as experimental options #203
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.
I like the idea of exposing these options to people who might be interested in trying them out. I haven't run the code, but the code changes look reasonable to me (on inspection).
My concern is that we are adding more options to a setup that already exposes a lot of options to users. If I wasn't already familiar with the options, I am not sure how I would make an informed decision about what option I should choose based on the information presented in this dialog.
Any suggestions how to word it? |
These are opt-ins, for now. This gives us the best of both worlds: users who want the raw speed improvement we got through three Google Summer of Code projects working in parallel can have that, while others who are reluctant to play guinea pig by running only well-tested code can stay on the safe side. Signed-off-by: Johannes Schindelin <[email protected]>
57c6dd6
to
263f643
Compare
There are now *fast*, built-in versions of `git stash` and `git rebase`, [available as experimental options](#203). Signed-off-by: Johannes Schindelin <[email protected]>
Great work. How do we enable this via command line? |
Nevermind :)
|
Is it too late to change the wording on the setup page? "90% faster" is incredibly ambiguous. |
@Qartar the source for the wording is here if you'd like to submit some better wording: build-extra/installer/install.iss Lines 1414 to 1428 in 398071c
|
Thanks, but I'm not sure what the intended value is, e.g. is it almost twice as fast or is it ten times faster? |
@Qartar I guess you're right. Have you tested the performance? What I meant was a 10x speed-up. But now that you mention it, I would like to have a bit more confirmation on those numbers from other people. |
Uggh. Is it too late to change the "90% faster" text to say "10x as fast"? 90% faster is hopelessly ambiguous, and it hugely undersells the value of the optimizations if they really are supposed to be 10x as fast. |
No. Pull requests welcome. (though it won't show until the next build... but it will still be valuable) |
I agree with @jamill , the installer is already a bit jam-packed with technical decisions. Even as a software developer I am somewhat daunted when I see it. I am frequently asked by non-IT colleagues to help with the installation of Git on their (Windows) computer because they are afraid of this installer and the questions asked in it. |
I am someone who doesn't know which "bleeding edge features" I would like to enable. It's frustrating to slog through setting up my computer so I can learn to code, only to come across two options that may not mean much to me yet...but I still want to make a semi-informed choice. What do they do differently from one another except for running 70% faster or 90% faster than a completely undefined processing speed? I think I prefer the word 'stash' over 'rebase'. Besides it's (1.9x-1.7x) faster than just x. Seriously though, I know you're all working on a level I can only aspire to reach someday. Just keep us newbies in mind... |
@coachmullen22 'stash' is a git feature though (https://git-scm.com/docs/git-stash) so 'stash' and 'rebase' are different things. So you don't have to choose between them, but it's that both of them received an experimental option. |
Well, the entire discussion is moot now, as v2.19.2 no longer marks those built-in commands as experimental. |
@dscho Just to be clear
Are enabled by default as of 2.19.2, so not needed to do manually run the commands? |
@Sarkie it is even "worse": those config settings' default value has changed. Read: if you do not configure |
As nice as the speed-ups are, the patches in question are still in flux, and they are not battle-tested at all.
Let's use the scripted commands by default, and offer the new, fast, experimental builtins as options.
This gives us the best of both worlds: users who want the raw speed improvement we got through three Google Summer of Code projects working in parallel can have that, while others who are reluctant to play guinea pig by running only well-tested code can stay on the safe side.
Plus, it gives us a chance of battle-testing those patches :-)
Note: the code added in this PR will only kick in if bundling a Git built including the latest patches of git-for-windows/git#1800.