Imported Upstream version 2.23.0
[platform/upstream/git.git] / Documentation / config / stash.txt
1 stash.useBuiltin::
2        Set to `false` to use the legacy shell script implementation of
3        linkgit:git-stash[1]. Is `true` by default, which means use
4        the built-in rewrite of it in C.
5 +
6 The C rewrite is first included with Git version 2.22 (and Git for Windows
7 version 2.19). This option serves as an escape hatch to re-enable the
8 legacy version in case any bugs are found in the rewrite. This option and
9 the shell script version of linkgit:git-stash[1] will be removed in some
10 future release.
11 +
12 If you find some reason to set this option to `false`, other than
13 one-off testing, you should report the behavior difference as a bug in
14 Git (see https://git-scm.com/community for details).
15
16 stash.showPatch::
17         If this is set to true, the `git stash show` command without an
18         option will show the stash entry in patch form.  Defaults to false.
19         See description of 'show' command in linkgit:git-stash[1].
20
21 stash.showStat::
22         If this is set to true, the `git stash show` command without an
23         option will show diffstat of the stash entry.  Defaults to true.
24         See description of 'show' command in linkgit:git-stash[1].