Skip to content

Commit 462f213

Browse files
PeterJCLawgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4e59582 commit 462f213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ _git_describe ()
12061206

12071207
__git_diff_algorithms="myers minimal patience histogram"
12081208

1209-
__git_diff_submodule_formats="log short"
1209+
__git_diff_submodule_formats="diff log short"
12101210

12111211
__git_diff_common_options="--stat --numstat --shortstat --summary
12121212
--patch-with-stat --name-only --name-status --color

0 commit comments

Comments
 (0)