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

Re: [PATCH] diff-no-index: correctly diagnose error return from diff_opt_parse()

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Mar 31, 2014, 19:14 UTC
Message-ID
<CA+55aFyLu88bjKuSOrWs5fNX=QsFNo9F1T6wRvp_Ogy+PpX5CQ@mail.gmail.com>
In-Reply-To
<xmqqy4zq5hoq.fsf@gitster.dls.corp.google.com>
On Mon, Mar 31, 2014 at 11:47 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
>
> Instead, make it act like so:
>
>         $ git diff --no-index --color=words a b
>         error: option `color' expects "always", "auto", or "never"
>         fatal: invalid diff option/value: --color=words
Thanks,
           Linus
Previous: Junio C Hamano
Message 6 of 6 in “Odd "git diff" breakage”
  1. Linus TorvaldsMar 31, 2014
  2. Junio C HamanoMar 31, 2014
  3. Linus TorvaldsMar 31, 2014
  4. Junio C HamanoMar 31, 2014
  5. diff-no-index: correctly diagnose error return from diff_opt_parse()Junio C Hamano, Mar 31, 2014
  6. Linus TorvaldsMar 31, 2014

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.