summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2015-05-01 19:21:00 +0200
committerJunio C Hamano <gitster@pobox.com>2015-05-03 11:46:14 -0700
commitaf16bdaa3fb25bd5811b09bc11c9244b1dcc684e (patch)
treef2ff39dae6e2db0a72f7fa133f34ba4531bee16a
parentaf4e9e8c87d3e73056c4758279c4c8462fe5e573 (diff)
downloadgit-sg/complete-decorate-full-not-long.tar.gz
completion: fix and update 'git log --decorate=' optionssg/complete-decorate-full-not-long
'git log --decorate=' understands the 'full', 'short' and 'no' options. From these the completion script only offered 'short' and it offered 'long' instead of 'full'. Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xcontrib/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 daccbcc33e..2218a9c6f8 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1181,7 +1181,7 @@ _git_log ()
return
;;
--decorate=*)
- __gitcomp "long short" "" "${cur##--decorate=}"
+ __gitcomp "full short no" "" "${cur##--decorate=}"
return
;;
--*)