summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorPaul Talacko <gnuruandstuff@yahoo.co.uk>2008-09-07 01:50:38 (GMT)
committerEric Wong <normalperson@yhbt.net>2008-09-07 01:58:59 (GMT)
commit7c4d0219cf9ab6a7738a09ad7fec72d5e9f2ac67 (patch)
tree68a6ffc8cb5f695db980ae4ceae34f8e26e25583 /git-svn.perl
parenta786091b4a487bc08bbff4864717cf5d8383e983 (diff)
downloadgit-7c4d0219cf9ab6a7738a09ad7fec72d5e9f2ac67.zip
git-7c4d0219cf9ab6a7738a09ad7fec72d5e9f2ac67.tar.gz
git-7c4d0219cf9ab6a7738a09ad7fec72d5e9f2ac67.tar.bz2
git-svn: set auto_props when renaming files
Patch-by: Paul Talacko <gnuruandstuff@yahoo.co.uk>: <http://article.gmane.org/gmane.comp.version-control.git/95006> > Hello, > > There's an issue in git-svn as autoprops are not applied to > renamed files, only to added files. > > This patch fixes the bug. [ew: added test case] Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 2cc6487..ee3f5ed 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -3657,6 +3657,7 @@ sub R {
my $fbat = $self->add_file($self->repo_path($m->{file_b}), $pbat,
$self->url_path($m->{file_a}), $self->{r});
print "\tR\t$m->{file_a} => $m->{file_b}\n" unless $::_q;
+ $self->apply_autoprops($file, $fbat);
$self->chg_file($fbat, $m);
$self->close_file($fbat,undef,$self->{pool});