git2spec.pl: detect renames

master
Harald Hoyer 2012-02-22 15:33:08 +01:00
parent 8b6e099892
commit 03a44f0bf0
1 changed files with 1 additions and 1 deletions

View File

@ -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;