summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder@ira.uka.de>2015-05-01 19:21:00 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-05-03 11:46:14 -0700
commitaf16bdaa3fb25bd5811b09bc11c9244b1dcc684e (patch)
treef2ff39dae6e2db0a72f7fa133f34ba4531bee16a
parentcompletion: update am, commit, and log (diff)
downloadtgif-af16bdaa3fb25bd5811b09bc11c9244b1dcc684e.tar.xz
completion: fix and update 'git log --decorate=' options
'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
;;
--*)