git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] bash: add --word-diff option to diff [AND --set-upstream TO push] auto-completion

From
RRRodrigo 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... ;)
>
>
Previous: SZEDER GáborNext: Jonathan Nieder
Message 4 of 5 in “bash: add --word-diff option to diff auto-completion”
  1. bash: add --word-diff option to diff auto-completionJonathan Nieder, Sep 13, 2011
  2. SZEDER GáborSep 13, 2011
  3. SZEDER GáborSep 13, 2011
  4. Rodrigo Rosenfeld RosasSep 16, 2011
  5. Jonathan NiederSep 16, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.