Files
git/builtin
Johannes Schindelin dc3bf2f5ff stash: optionally use the scripted version again
We recently converted the `git stash` command from Unix shell scripts
to builtins.

Just like we have `rebase.useBuiltin` to fall back to the scripted
rebase, to give end users a way out when they discover a bug in the
builtin command, this commit adds support for `stash.useBuiltin`.

This is necessary because Git for Windows wants to ship the builtin
stash earlier than core Git: Git for Windows v2.19.0 will come with
the option of a drastically faster (if a lot less battle-tested)
`git stash`.

As the file name `git-stash` is already in use, let's rename the
scripted backend to `git-legacy-stash`.

To make the test suite pass with `stash.useBuiltin=false`, this commit
also backports rudimentary support for `-q` (but only *just* enough
to appease the test suite), and adds a super-ugly hack to force exit
code 129 for `git stash -h`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2018-12-15 08:38:21 +01:00
..
2018-11-18 18:23:53 +09:00
2018-10-19 13:34:02 +09:00
2018-08-20 15:31:40 -07:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-16 16:16:02 +09:00
2018-10-26 14:22:13 +09:00
2018-11-13 22:37:27 +09:00
2018-08-20 15:31:40 -07:00
2018-10-19 13:34:02 +09:00
2018-11-13 22:37:27 +09:00
2018-08-29 11:32:49 -07:00
2018-08-27 14:33:43 -07:00