Skip to content

Commit 7823655

Browse files
t-bgitster
authored andcommitted
completion: add --broken and --dirty to describe
When the flags for broken and dirty were implemented in b0176ce (builtin/describe: introduce --broken flag, 2017-03-21) and 9f67d2e (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 <[email protected]> Helped-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4010f1d commit 7823655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ _git_describe ()
13851385
__gitcomp "
13861386
--all --tags --contains --abbrev= --candidates=
13871387
--exact-match --debug --long --match --always --first-parent
1388-
--exclude
1388+
--exclude --dirty --broken
13891389
"
13901390
return
13911391
esac

0 commit comments

Comments
 (0)