Re: [PATCH/RFC] bash: add --word-diff option to diff [AND --set-upstream TO push] auto-completion
- From
- Rodrigo Rosenfeld Rosas <lbocseg@yahoo.com.br>
- Date
- Sep 16, 2011, 15:56 UTC
- Message-ID
- <4E737199.1000107@yahoo.com.br>
- In-Reply-To
- <20110913233712.GE2078@goldbirke>
While on the topic, it would also be interesting to add "--set-upstream" to "git push" autocompletion. Don't you agree?
Cheers, Rodrigo.
Em 13-09-2011 20:37, SZEDER Gábor escreveu:
Show 15 quoted lines
> 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=<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... ;) > >