From: SZEDER Gábor Date: Tue, 13 Sep 2011 23:37:12 GMT Subject: Re: [PATCH/RFC] bash: add --word-diff option to diff auto-completion Message-ID: <20110913233712.GE2078@goldbirke> In-Reply-To: <20110913232941.GC2078@goldbirke> On Wed, Sep 14, 2011 at 01:29:41AM +0200, SZEDER Gábor wrote: > Or is it just too late here and I'm missing something > obvious? > > Completing the mode for --word-diff= 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... ;)