completion: unite --reuse-message and --reedit-message for 'notes'
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
77653abd98
commit
a8f89bfa99
@ -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=
|
||||
|
Loading…
Reference in New Issue
Block a user