]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
git2spec.pl: detect renames
authorHarald Hoyer <harald@redhat.com>
Wed, 22 Feb 2012 14:33:08 +0000 (15:33 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 22 Feb 2012 15:14:38 +0000 (16:14 +0100)
git2spec.pl

index 38f899ad9e2d8501907ff129076aee686db3dd94..9f12577e4a78c605b1c2aee49707878781068888 100755 (executable)
@@ -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=<GIT>;
     close GIT;         # be done
     return @lines;