From: Junio C Hamano Date: Sun, 04 Feb 2007 10:49:48 GMT Subject: Re: [PATCH 1/8] bash: Remove short option completions for branch/checkout/diff. Message-ID: <7vr6t6rycz.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Jakub Narebski writes: > [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 " 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 -". Presumably it was trying to suggest the argument but that does not make much sense actually either.