From: SZEDER Gábor Date: Sat, 8 Oct 2011 01:06:34 +0000 (+0200) Subject: completion: unite --reuse-message and --reedit-message for 'notes' X-Git-Tag: v1.7.8-rc0~55^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a8f89bfa999dde7fa801ffc29bc89a1f053849e6;p=git.git completion: unite --reuse-message and --reedit-message for 'notes' Signed-off-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index e6fd43bb2..4a857b680 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1727,11 +1727,9 @@ _git_notes () ;; esac ;; - add,--reuse-message=*|append,--reuse-message=*) - __gitcomp "$(__git_refs)" "" "${cur##--reuse-message=}" - ;; + add,--reuse-message=*|append,--reuse-message=*|\ add,--reedit-message=*|append,--reedit-message=*) - __gitcomp "$(__git_refs)" "" "${cur##--reedit-message=}" + __gitcomp "$(__git_refs)" "" "${cur#*=}" ;; add,--*|append,--*) __gitcomp '--file= --message= --reedit-message=