Re: [PATCH 3/6] completion: add common options for blame
Thomas Rast <trast@inf.ethz.ch> writes:
Show 19 quoted lines
> Ramkumar Ramachandra <artagnon@gmail.com> writes:
>
>> Add support for completing 'git blame'. List only the common short
>> options.
> [...]
>> +_git_blame ()
>> +{
>> + __git_has_doubledash && return
>> +
>> + case "$cur" in
>> + -*)
>> + __gitcomp "-M -C -L -s -w"
>> + esac
>> + __git_complete_revlist_file
>> +}
>
> Is this the first time we introduce completion (I guess you could call
> it "help") for short options? I only did a quick search for /-. -/ but
> it certainly seems that way.Yeah, I do not think this is a good idea.