summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Law <PeterJCLaw@gmail.com>2016-12-04 14:41:27 +0000
committerJunio C Hamano <gitster@pobox.com>2017-01-30 15:04:22 -0800
commit462f213429c728d68e5178580040af5832fa0bb8 (patch)
treeb87a1d00c09fca537e697ab3e5fbdc76b7c8ed59
parent4e59582ff70d299f5a88449891e78d15b4b3fabe (diff)
downloadgit-462f213429c728d68e5178580040af5832fa0bb8.tar.gz
Completion: Add support for --submodule=diffpl/complete-diff-submodule-diff
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>
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 6721ff80fb..97d73ad88f 100644
--- 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