From: Matthieu Moy Date: Fri, 03 Sep 2010 19:34:02 GMT Subject: Re: [BUG?] rename patch accepted with --dry-run, rejected without (Re: [PATCH V3] arm & sh: factorised duplicated clkdev.c) Message-ID: In-Reply-To: <20100903192907.GA2978@n2100.arm.linux.org.uk> Russell King - ARM Linux writes: > git patches include additional metadata for renaming files, which gnu patch > will not understand. > > If you want GNU patch compatible diffs, don't use -C or -M when generating > patches out of git. Fyi: actually, GNU patch will support git-style patches in the next version according to http://savannah.gnu.org/forum/forum.php?forum_id=6320 -- Matthieu Moy http://www-verimag.imag.fr/~moy/