Gmane
Gravatar
From: Jeff King <peff <at> peff.net>
Subject: Re: Bugs with detection of renames that are also overwrites
Newsgroups: gmane.comp.version-control.git
Date: 2010-02-23 12:59:52 GMT (1 year, 50 weeks, 1 day, 17 hours and 16 minutes ago)
On Tue, Feb 23, 2010 at 11:53:13PM +1100, Jon Seymour wrote:

> I came across a similar case recently while testing my rebasing ideas
> which lead me to wonder - is there a way to suppress the rename and
> overwrite detection? For my purposes, I don't care if the diff is
> bulky, I just want it to apply reliably.

For diff generation, it should be off by default (but you may have
configured diff.renames, in which case you can pass --no-renames to
suppress it).

For the merge-recursive driver, it is on by default. You can hack it off
by setting merge.renamelimit to something small like '1' (but don't use
'0', which means "no limit").  Rebase uses "git am -3" internally, which
in turn invokes merge-recursive.

-Peff