summaryrefslogtreecommitdiff
path: root/Documentation/config/stash.txt
diff options
context:
space:
mode:
authorLibravatar Denton Liu <liu.denton@gmail.com>2021-03-03 03:16:43 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-03-05 14:31:27 -0800
commit0af760e26191acd3c5957841461ff224b80b43f7 (patch)
tree4ac568f916e8965219c52300d0d9f5048a2f3dbe /Documentation/config/stash.txt
parentstash show: teach --include-untracked and --only-untracked (diff)
downloadtgif-0af760e26191acd3c5957841461ff224b80b43f7.tar.xz
stash show: learn stash.showIncludeUntracked
The previous commit teaches `git stash show --include-untracked`. It may be desirable for a user to be able to always enable the --include-untracked behavior. Teach the stash.showIncludeUntracked config option which allows users to do this in a similar manner to stash.showPatch. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/stash.txt')
-rw-r--r--Documentation/config/stash.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config/stash.txt b/Documentation/config/stash.txt
index 00eb35434e..413f907cba 100644
--- a/Documentation/config/stash.txt
+++ b/Documentation/config/stash.txt
@@ -5,6 +5,11 @@ stash.useBuiltin::
is always used. Setting this will emit a warning, to alert any
remaining users that setting this now does nothing.
+stash.showIncludeUntracked::
+ If this is set to true, the `git stash show` command without an
+ option will show the untracked files of a stash entry. Defaults to
+ false. See description of 'show' command in linkgit:git-stash[1].
+
stash.showPatch::
If this is set to true, the `git stash show` command without an
option will show the stash entry in patch form. Defaults to false.