Re: [PATCH 2/2] Have the diff-* builtins configure diff before initializing revisions.
- From
Jeff King <peff@peff.net>
- Date
- May 1, 2017, 05:29 UTC
- Message-ID
- <20170501052903.nkcg3ndcgbfj7t2p@sigill.intra.peff.net>
- In-Reply-To
- <20170501051758.bei3odg3gehtbxbv@sigill.intra.peff.net>
On Mon, May 01, 2017 at 01:17:58AM -0400, Jeff King wrote:
Show 10 quoted lines
> Yeah, I agree it is an existing bug. The only other case I found is > dirstat. Doing: > > mkdir a b > for i in 1 2; do echo content >a/$i; done > for i in 1 2 3; do echo content >b/$i; done > git -c diff.dirstat=50 diff-tree --dirstat --root HEAD > > should respect the config and show only "b", but it doesn't currently > (and does with Marc's patch).
Er, there's a "git add a b; git commit -m foo" missing before running the diff, of course.
-Peff