# [PATCH] completion: fix and update 'git log --decorate=' options

1 messages from 2015-05-01 to 2015-05-01. Participants: SZEDER Gábor.
Thread: https://gitlist.dev/t/39211

## SZEDER Gábor, 2015-05-01 17:21

Subject: [PATCH] completion: fix and update 'git log --decorate=' options
Message-ID: <1430500860-4664-1-git-send-email-szeder@ira.uka.de>
URL: https://gitlist.dev/e/1430500860-4664-1-git-send-email-szeder%40ira.uka.de

```
'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>
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 8b0d2b4..b28a14e 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1447,7 +1447,7 @@ _git_log ()
 		return
 		;;
 	--decorate=*)
-		__gitcomp "long short" "" "${cur##--decorate=}"
+		__gitcomp "full short no" "" "${cur##--decorate=}"
 		return
 		;;
 	--*)
-- 
1.9.5.msysgit.0

```
