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

Re: [PATCH] diff: --{rotate,skip}-to=<path>

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 12, 2021, 17:54 UTC
Message-ID
<xmqq35y1w4rj.fsf@gitster.c.googlers.com>
In-Reply-To
<nycvar.QRO.7.76.6.2102121713390.29765@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> This is more a drive-by comment, as I have no stake in this, but don't we
> already have a more generic solution via `-O<orderfile>`? See
> https://git-scm.com/docs/git-diff#Documentation/git-diff.txt--Oltorderfilegt
> for details.

The use cases are quite different. This one is meant for a single-shot use, while orderfile is a more permanent thing.

See https://lore.kernel.org/git/xmqqeehp2jis.fsf@gitster.c.googlers.com/ and start reading from "I suspect that" for background story.

Previous: Johannes Schindelin
Message 3 of 3 in “diff: --{rotate,skip}-to=<path>”
  1. diff: --{rotate,skip}-to=<path>Junio C Hamano, Feb 11, 2021
  2. Johannes SchindelinFeb 12, 2021
  3. Junio C HamanoFeb 12, 2021

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.