projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec014ea
)
completion: unite --reuse-message and --reedit-message handling
author
Teemu Matilainen
<teemu.matilainen@iki.fi>
Thu, 6 Oct 2011 18:40:29 +0000
(21:40 +0300)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 6 Oct 2011 22:11:49 +0000
(15:11 -0700)
Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 840ae38760a5de84b369b208a52cc579ce478378..43a7a36f0638fe12274ae94117c3c0f4c14cc2d1 100755
(executable)
--- 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=*)