Jakub Narebski [off-list ref] writes:
[Cc: git@vger.kernel.org]
Shawn O. Pearce wrote:
quoted
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.