From: Teemu Matilainen Date: Thu, 6 Oct 2011 18:40:29 +0000 (+0300) Subject: completion: unite --reuse-message and --reedit-message handling X-Git-Tag: v1.7.8-rc0~55^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f8e49e132c717df25f741f4af9ce1c79e1d74fb1;p=git.git completion: unite --reuse-message and --reedit-message handling Signed-off-by: Teemu Matilainen Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 840ae3876..43a7a36f0 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1287,12 +1287,8 @@ _git_commit () " "" "${cur##--cleanup=}" return ;; - --reuse-message=*) - __gitcomp "$(__git_refs)" "" "${cur##--reuse-message=}" - return - ;; - --reedit-message=*) - __gitcomp "$(__git_refs)" "" "${cur##--reedit-message=}" + --reuse-message=*|--reedit-message=*) + __gitcomp "$(__git_refs)" "" "${cur#*=}" return ;; --untracked-files=*)