From: Junio C Hamano Date: Mon, 03 Jun 2013 17:24:56 GMT Subject: Re: [PATCH 3/6] completion: add common options for blame Message-ID: <7vmwr7gl93.fsf@alter.siamese.dyndns.org> In-Reply-To: <87mwr7zhv5.fsf@linux-k42r.v.cablecom.net> Thomas Rast writes: > Ramkumar Ramachandra 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.