diff options
author | Peter Law <PeterJCLaw@gmail.com> | 2016-12-04 14:41:27 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-30 15:04:22 -0800 |
commit | 462f213429c728d68e5178580040af5832fa0bb8 (patch) | |
tree | b87a1d00c09fca537e697ab3e5fbdc76b7c8ed59 /contrib | |
parent | 4e59582ff70d299f5a88449891e78d15b4b3fabe (diff) | |
download | git-462f213429c728d68e5178580040af5832fa0bb8.tar.gz git-462f213429c728d68e5178580040af5832fa0bb8.tar.xz |
Completion: Add support for --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>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 6721ff80f..97d73ad88 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 |