Re: git diff-tree do not honor diff.orderfile config
- From
- Tiago 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