Code

bash: Hide diff-stages from completion.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 5 Feb 2007 20:44:24 +0000 (15:44 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 5 Feb 2007 21:49:00 +0000 (13:49 -0800)
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>
contrib/completion/git-completion.bash

index b434332bf7c9bbf58ca82ef0b1804441eaf2b65c..c0dae5484d75f87219b0765704c574dbbe941567 100755 (executable)
@@ -269,6 +269,7 @@ __git_commands ()
                cvsimport)        : import;;
                cvsserver)        : daemon;;
                daemon)           : daemon;;
+               diff-stages)      : nobody uses it;;
                fsck-objects)     : plumbing;;
                fetch-pack)       : plumbing;;
                fmt-merge-msg)    : plumbing;;