Skip to content

Commit 78331b6

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_status
The new completable options are --null and --show-stash. Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 09e271a commit 78331b6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,11 +2066,7 @@ _git_status ()
20662066
return
20672067
;;
20682068
--*)
2069-
__gitcomp "
2070-
--short --branch --porcelain --long --verbose
2071-
--untracked-files= --ignore-submodules= --ignored
2072-
--column= --no-column
2073-
"
2069+
__gitcomp_builtin status "--no-column"
20742070
return
20752071
;;
20762072
esac

0 commit comments

Comments
 (0)