From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 6 Oct 2015 11:34:28 -0600 Subject: [U-Boot] [PATCH 2/6] ARM: tegra: create common XUSB padctl driver file In-Reply-To: <20151006101526.GE23335@ulmo.nvidia.com> References: <1444085961-30107-1-git-send-email-swarren@wwwdotorg.org> <1444085961-30107-2-git-send-email-swarren@wwwdotorg.org> <20151006101526.GE23335@ulmo.nvidia.com> Message-ID: <56140624.6040303@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/06/2015 04:15 AM, Thierry Reding wrote: > On Mon, Oct 05, 2015 at 04:59:17PM -0600, Stephen Warren wrote: > [...] >> It'd be nice if "git format-patch -C" recognized this as a copy, since >> that's why I created a separate patch, but it doesn't seem to:-( > > Have you tried tuning the behaviour by passing the similarity index to > -C? I've had some success using that approach. Ah, -C25 (a random number I tried that's less than the default) does seem to work much better. Unfortunately the diff isn't quite as useful as it could be since I moved the phy-related functions from the end to the start of the file to keep the DT and phy related code separate. I guess I could do that in a separate commit or drop that change. Anyway, I'll try to remember this if I need to post a V2, but I'm not going to spam the lists just to repost it with a better diff unless someone really wants. Thanks for the tip.