From: Jakub Narebski Date: Mon, 05 Feb 2007 09:16:16 GMT Subject: Re: [PATCH 1/8] bash: Remove short option completions for branch/checkout/diff. Message-ID: <200702051016.16785.jnareb@gmail.com> In-Reply-To: <20070205024704.GB12917@spearce.org> Shawn O. Pearce wrote: > Completing single character options is rather useless in my mind. > The bash completion is always out of date with respect to the > actual set of supported options, and by definition they are a > single character. Hitting '-' to identify the list of > supported options gives *no* detail about what the options do, > and I still have to enter the option letter to complete it. > > Completing `git am --whitespace=strip ` with just 6 > keystrokes on the other hand is very informative (whitespace, > strip!) and saves many keystrokes. That's why long options are > supported, for at least the more commonly accessed ones. It would be nice to have long option for each git command single character (short) option, for example --patch as long option to git-diff-tree -p option, etc. -- Jakub Narebski Poland