Re: [PATCH 1/8] bash: Remove short option completions for branch/checkout/diff.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 4, 2007, 10:49 UTC
- Message-ID
- <7vr6t6rycz.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <eq4ccg$9ae$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 14 quoted lines
> [Cc: git@vger.kernel.org] > > Shawn O. Pearce wrote: > >> The short options (-l, -f, -d) for git-branch are rather silly to >> include in the completion generation as these options must be fully >> typed out by the user and most users already know what the options >> are anyway, so including them in the suggested completions does >> not offer huge value. (The same goes for git-checkout and git-diff.) > > Not true. It is nice to have on "git branch -" TAB TAB list of all > (well, all included in completion) short options to git-branch. > > So I'd vote NAK.
Ah, sorry, but it's already done.
I tried "git branch <TAB>" and saw hundreds of possibilities offered, and thought mixing -d/-l and friends are useless. I didn't think of the possibility of saying "git branch -<TAB>".
Presumably it was trying to suggest the <start-point> argument but that does not make much sense actually either.