From: Harald Hoyer Date: Wed, 22 Feb 2012 14:33:08 +0000 (+0100) Subject: git2spec.pl: detect renames X-Git-Tag: 017~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03a44f0bf01574d1171c3b968cd8c2cf1ba51758;p=thirdparty%2Fdracut.git git2spec.pl: detect renames --- diff --git a/git2spec.pl b/git2spec.pl index 38f899ad9..9f12577e4 100755 --- a/git2spec.pl +++ b/git2spec.pl @@ -20,7 +20,7 @@ sub create_patches { my $tag=shift; my $pdir=shift; my $num=0; - open( GIT, 'git format-patch -N --no-signature -o "'.$pdir.'" '.$tag.' |'); + open( GIT, 'git format-patch -M -N --no-signature -o "'.$pdir.'" '.$tag.' |'); @lines=; close GIT; # be done return @lines;