Skip to content

Commit 2651baa

Browse files
artagnongitster
authored andcommitted
git-completion.bash: add diff.submodule to config list
c47ef57 (diff: introduce diff.submodule configuration variable, 2012-11-13) introduced the diff.submodule configuration variable, but forgot to teach git-completion.bash about it. Fix this. Signed-off-by: Ramkumar Ramachandra <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent de7c201 commit 2651baa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,6 +1859,10 @@ _git_config ()
18591859
"
18601860
return
18611861
;;
1862+
diff.submodule)
1863+
__gitcomp "log short"
1864+
return
1865+
;;
18621866
help.format)
18631867
__gitcomp "man info web html"
18641868
return
@@ -2061,6 +2065,7 @@ _git_config ()
20612065
diff.renameLimit
20622066
diff.renames
20632067
diff.statGraphWidth
2068+
diff.submodule
20642069
diff.suppressBlankEmpty
20652070
diff.tool
20662071
diff.wordRegex

0 commit comments

Comments
 (0)