Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Completion: Add support for --submodule=diff
author
Peter Law
<PeterJCLaw@gmail.com>
Sun, 4 Dec 2016 14:41:27 +0000
(14:41 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 30 Jan 2017 23:04:22 +0000
(15:04 -0800)
Teach git-completion.bash about the 'diff' option to 'git diff
--submodule=', which was added in Git 2.11.
Signed-off-by: Peter Law <PeterJCLaw@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
4e59582
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 6721ff80fb1324ec1cf450f7b69cbf8266880035..97d73ad88fc710c32429fbf3a47bb0e2dc4d95de 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1206,7
+1206,7
@@
_git_describe ()
__git_diff_algorithms="myers minimal patience histogram"
-__git_diff_submodule_formats="log short"
+__git_diff_submodule_formats="
diff
log short"
__git_diff_common_options="--stat --numstat --shortstat --summary
--patch-with-stat --name-only --name-status --color