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

Re: git diff-tree do not honor diff.orderfile config

From
TMTiago de Bem Natel de Moura <t.nateldemoura@gmail.com>
Date
Jul 8, 2024, 12:49 UTC
Message-ID
<CAJFVNCcrURr7h25BE76jd19=qO0e3umP5_Hhp1mHFrhXDB+DLA@mail.gmail.com>
In-Reply-To
<xmqqy16ematj.fsf@gitster.g>

I agree with pretty much everything said here but then the documentation must be fixed here: https://git-scm.com/docs/git-diff-tree#Documentation/git-diff-tree.txt--Oltorderfilegt

I use diff-tree in a Go program[1] and I expected it to be plumbing but I got an error report that was hard to reproduce then I read in the documentation that diff-tree also relies on the configuration but when I tried it didn't work, hence this report. If you folks say it does not depend on the config and never will, then all good.

Thank you.
1: https://github.com/terramate-io/terramate/blob/af73c2b688fae94360169da6ab8de49ea5b07649/git/git.go#L466-L482
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “git diff-tree do not honor diff.orderfile config”
  1. Tiago de Bem Natel de MouraJul 5, 2024
  2. Taylor BlauJul 5, 2024
  3. Jeff KingJul 6, 2024
  4. Junio C HamanoJul 6, 2024
  5. Tiago de Bem Natel de MouraJul 8, 2024
  6. Junio C HamanoJul 6, 2024

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.