Re: git show doesn't respect config: diff.renames=copies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2008.08.06 10:06:03 -0400, Jeff King wrote:
> On Wed, Aug 06, 2008 at 01:43:40PM +0200, Stephen R. van den Berg wrote:
> 
> > What do I need to enter in /etc/gitconfig to get all commands that
> > deal with diffs of some kind to honour renames=copies ?
> 
> $ 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 ;-)

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.

Björn
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux