[U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

Wolfgang Denk wd at denx.de
Mon Jul 30 18:07:53 CEST 2012


Dear Gerlando Falauto,

In message <5016A093.6040102 at keymile.com> you wrote:
>
> The way I understand it, such renaming information is built on the fly 
> while building the patch (like you're suggesting, it's a parameter to 
> git format-patch, not to the commit itself).

Yes, and I fail to understand where your problems could be.

> However, I've been struggling to get this same kind of message through 
> git-format-patch. No way, I don't know why. I tried with -M, -M -C, 
> -M10%, adding "[diff]\n renames = copies" to ~/.gitconfig, with both 
> versions below, nothing. Detected as a rename at commit time, it's a 
> plain delete/create commit at patch creation time.

I see this (doing it all manually for testing):

-> patch -p1 </tmp/patch 
-> git rm include/configs/mgcoge.h include/configs/mgcoge3ne.h
-> git add include/configs/km82xx.h
-> git commit -s -m 'test 1'
-> git format-patch -M -C --stdout HEAD^ >/tmp/patch
-> less /tmp/patch


More information about the U-Boot mailing list