From: Jeff King Date: Wed, 06 Aug 2008 15:25:37 GMT Subject: Re: git show doesn't respect config: diff.renames=copies Message-ID: <20080806152537.GB21233@sigill.intra.peff.net> In-Reply-To: <20080806141559.GA25791@atjola.homenet> On Wed, Aug 06, 2008 at 04:15:59PM +0200, Björn Steinbrink wrote: > > $ git grep -A3 diff.renames > > config.txt:diff.renames:: > > config.txt- Tells git to detect renames. If set to any boolean value, it > > config.txt- will enable basic rename detection. If set to "copies" or > > config.txt- "copy", it will detect copies, as well. > > See subject line ;-) Heh. Yes, oops. His question makes a lot more sense now. ;) > Works for me though. Stephen, probably the source file didn't change in > the same commit. In such a case you need --find-copies-harder, and that > seems not to be configurable as the default. I don't think it is configurable. Probably a "copiesharder" option for diff.renames would be a sane addition. -Peff