Re: [PATCH/RFC] bash: add --word-diff option to diff auto-completion
On Wed, Sep 14, 2011 at 01:29:41AM +0200, SZEDER Gábor wrote:
Show 10 quoted lines
> Or is it just too late here and I'm missing something
> obvious?
>
> Completing the mode for --word-diff=<TAB> is a good idea, but c'mon,
> there are plenty of examples ;) Have a look at _git_am(),
> _git_format_patch(), or _git_init() for something easy, and
> _git_commit(), _git_log(), or _git_notes() for something fancy.
>
> Note that --word-diff= is also valid for log and shortlog, so the same
> can be done there, too.
Not shortlog, show. It's definitely too late... ;)