Re: [PATCH 3/6] completion: add common options for blame
- From
Thomas Rast <trast@inf.ethz.ch>
- Date
- Jun 3, 2013, 09:03 UTC
- Message-ID
- <87mwr7zhv5.fsf@linux-k42r.v.cablecom.net>
- In-Reply-To
- <1370181822-23450-4-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> Add support for completing 'git blame'. List only the common short > options.
[...]
Show 10 quoted lines
> +_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.
--
Thomas Rast
trast@{inf,student}.ethz.ch