From: Jeff King Date: Tue, 23 Feb 2010 12:59:52 GMT Subject: Re: Bugs with detection of renames that are also overwrites Message-ID: <20100223125952.GA7638@coredump.intra.peff.net> In-Reply-To: <2cfc40321002230453q3a593fa6l43850207ebddfc99@mail.gmail.com> 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