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>
Peter Law committed
Dec 4, 2016 at 14:41 UTC
462f213429c728d68e5178580040af5832fa0bb8
1 file changed
+1
-1
contrib/completion/git-completion.bash
+1
-1
@@ -1206,7 +1206,7 @@ _git_describe ()
1206
1207
__git_diff_algorithms="myers minimal patience histogram"
1208
1209
-__git_diff_submodule_formats="log short"
1209
+__git_diff_submodule_formats="diff log short"
1210
1211
__git_diff_common_options="--stat --numstat --shortstat --summary
1212
--patch-with-stat --name-only --name-status --color