aboutsummaryrefslogtreecommitdiff
path: root/perl/Git
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-10-10 14:02:18 -0700
committerEric Wong <normalperson@yhbt.net>2013-01-17 23:28:12 +0000
commit47263f5875cc16055e8d5ff3d000f3d41434fcf6 (patch)
treed9c0c9ebf559f0ae95a8c025d44479df5287c015 /perl/Git
parenteacf0117752780bf418d352a6ad2f033aeda1cce (diff)
downloadgit-47263f5875cc16055e8d5ff3d000f3d41434fcf6.tar.gz
git-47263f5875cc16055e8d5ff3d000f3d41434fcf6.tar.xz
Git::SVN::Editor::T: pass $deletions to ->A and ->D
This shouldn't make a difference because the $deletions hash is only used when adding a directory (see 379862ec, 2012-02-20) but it's nice to be consistent to make reading smoother anyway. No functional change intended. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'perl/Git')
-rw-r--r--perl/Git/SVN/Editor.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/Git/SVN/Editor.pm b/perl/Git/SVN/Editor.pm
index 3bbc20a05..178920c85 100644
--- a/perl/Git/SVN/Editor.pm
+++ b/perl/Git/SVN/Editor.pm
@@ -358,12 +358,12 @@ sub T {
mode_a => $m->{mode_a}, mode_b => '000000',
sha1_a => $m->{sha1_a}, sha1_b => '0' x 40,
chg => 'D', file_b => $m->{file_b}
- });
+ }, $deletions);
$self->A({
mode_a => '000000', mode_b => $m->{mode_b},
sha1_a => '0' x 40, sha1_b => $m->{sha1_b},
chg => 'A', file_b => $m->{file_b}
- });
+ }, $deletions);
return;
}