git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
5c0b13f
)
completion: complete "unstuck" `git push --recurse-submodules`
author
John Keeping
<redacted>
Tue, 22 Jul 2014 18:24:56 +0000
(19:24 +0100)
committer
Junio C Hamano
<redacted>
Tue, 22 Jul 2014 20:21:07 +0000
(13:21 -0700)
Since the argument to `--recurse-submodules` is mandatory, it does not
need to be stuck to the option with `=`.
Signed-off-by: John Keeping <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 019026efcbc5876d7aa3890eab5078a8bfbe2f7c..b27f385adc3b9456379d15fbc208bb633c0f5d27 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1617,6
+1617,11
@@
_git_push ()
--repo)
__gitcomp_nl "$(__git_remotes)"
return
+ ;;
+ --recurse-submodules)
+ __gitcomp "$__git_push_recurse_submodules"
+ return
+ ;;
esac
case "$cur" in
--repo=*)
git clone https://git.99rst.org/PROJECT