Skip to content

Commit 983591c

Browse files
spearceJunio C Hamano
authored andcommitted
bash: Hide diff-stages from completion.
Apparently nobody really makes use of git-diff-stages, as nobody has complained that it is not supported by the git-diff frontend. Since its likely this will go away in the future, we should not offer it as a possible subcommand completion. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent d8a9fea commit 983591c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ __git_commands ()
269269
cvsimport) : import;;
270270
cvsserver) : daemon;;
271271
daemon) : daemon;;
272+
diff-stages) : nobody uses it;;
272273
fsck-objects) : plumbing;;
273274
fetch-pack) : plumbing;;
274275
fmt-merge-msg) : plumbing;;

0 commit comments

Comments
 (0)