git2spec.pl: make rename diffs
authorHarald Hoyer <harald@redhat.com>
Fri, 29 Jul 2011 09:12:07 +0000 (11:12 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 29 Jul 2011 09:12:44 +0000 (11:12 +0200)
git2spec.pl

index 6e0bff8721d484c1748054f37b6ffd94e81716bc..8525ad26a719b749d39cbfdba17e37cb0b8fca5c 100755 (executable)
@@ -19,7 +19,7 @@ sub last_tag {
 sub create_patches {
     my $tag=shift;
     my $num=0;
-    open( GIT, 'git format-patch -M -N --no-signature '.$tag.' |');
+    open( GIT, 'git format-patch --no-renames -N --no-signature '.$tag.' |');
     @lines=<GIT>;
     close GIT;         # be done
     return @lines;