git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 17:15 UTC

Re: [PATCH GSOC] diff: use conventional comparison order

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2026, 20:18 UTC
Message-ID
<xmqqldfv4h6k.fsf@gitster.g>
In-Reply-To
<9afe48e3-8348-4e2c-8e5f-bbdc3b2951f8@malon.dev>
Tian Yuchen <cat@malon.dev> writes:
> I guess this syntax is probably intended to prevent the compiler from 
> not reporting an error when someone accidentally types '='.
You guessed wrong.  See CodingGuidelines.
Previous: Tian YuchenNext: Tian Yuchen
Message 3 of 5 in “diff: use conventional comparison order”
  1. diff: use conventional comparison orderaum2357, Mar 13, 2026
  2. Tian YuchenMar 13, 2026
  3. Junio C HamanoMar 13, 2026
  4. Tian YuchenMar 14, 2026
  5. Junio C HamanoMar 14, 2026

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.