Re: [PATCH 1/8] bash: Remove short option completions for branch/checkout/diff.
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Feb 5, 2007, 09:16 UTC
- Message-ID
- <200702051016.16785.jnareb@gmail.com>
- In-Reply-To
- <20070205024704.GB12917@spearce.org>
Shawn O. Pearce wrote:
Show 11 quoted lines
> 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 '-<tab><tab>' 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 --w<tab>hitespace=s<tab>trip ` 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