summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Thomas Braun <thomas.braun@virtuell-zuhause.de>2017-10-06 20:02:47 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-07 11:12:58 +0900
commit78236550824fb2d0b150f2992589a26e89c0f1c9 (patch)
tree79cd107f786da483b3470edc4712ee34a76783a7 /contrib
parentGit 2.14.2 (diff)
downloadtgif-78236550824fb2d0b150f2992589a26e89c0f1c9.tar.xz
completion: add --broken and --dirty to describe
When the flags for broken and dirty were implemented in b0176ce6b5 (builtin/describe: introduce --broken flag, 2017-03-21) and 9f67d2e827 (Teach "git describe" --dirty option, 2009-10-21) the completion was not updated, although these flags are useful completions. Add them. Signed-off-by: Thomas Braun <thomas.braun@virtuell-zuhause.de> Helped-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index d934417475..0e16f017a4 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1385,7 +1385,7 @@ _git_describe ()
__gitcomp "
--all --tags --contains --abbrev= --candidates=
--exact-match --debug --long --match --always --first-parent
- --exclude
+ --exclude --dirty --broken
"
return
esac