git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: compactionheuristic config var case issue
@ 2016-06-15 10:39 Brian Lalor
  2016-06-15 12:33 ` Duy Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Lalor @ 2016-06-15 10:39 UTC (permalink / raw)
  To: git

I’m very happy to see the new compaction heuristic option; it’s the way I always thought diffs should read!  

The config option in the documentation references “diff.compactionHeuristic”, but diff.c does a case-sensitive comparison on “diff.compactionheuristic” (note the case of the “h” in “heuristic”) and `git diff` does not honor the config.  Confusingly, `git config diff.compactionheuristic` returns true when diff.compactionHeuristic is set in ~/.gitconfig.  When diff.compactionheuristic is set to true in ~/.gitconfig, the desired behavior is achieved.

Thank you all for Git: it’s hard to remember the terrible world we lived in before it existed. :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-16  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-15 10:39 bug: compactionheuristic config var case issue Brian Lalor
2016-06-15 12:33 ` Duy Nguyen
2016-06-16  9:48   ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).