From: Shawn O. Pearce Date: Tue, 27 Nov 2007 01:03:50 GMT Subject: Re: If you would write git from scratch now, what would you change? Message-ID: <20071127010350.GE14735@spearce.org> In-Reply-To: <7vhcj8g0op.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > Wincent Colaiuta writes: > > > > $ git- > > Display all 146 possibilities? (y or n) > > The tab completion for bash and zsh would also help you here, but I see > there are quite a few commands that should not be there, and it's time > to clean it up. ... > diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash > index cad842a..1bba68b 100755 > --- a/contrib/completion/git-completion.bash > +++ b/contrib/completion/git-completion.bash > @@ -359,6 +359,15 @@ __git_commands () > upload-pack) : plumbing;; > write-tree) : plumbing;; > verify-tag) : plumbing;; > + annotate) : use blame;; > + checkout-index) : plumbing;; > + diff-stages) : plumbing;; > + get-tar-commit-id) : plumbing;; > + lost-found) : deprecated;; > + rebase--interactive) : plumbing;; > + relink) : obsolete;; > + whatchanged) : plumbing;; > + verify-pack) : plumbing;; > *) echo $i;; > esac > done Ack'd-by: Shawn O. Pearce ;-) -- Shawn.