Skip to content

Commit 47263f5

Browse files
jrnEric Wong
authored andcommitted
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 379862e, 2012-02-20) but it's nice to be consistent to make reading smoother anyway. No functional change intended. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Eric Wong <[email protected]>
1 parent eacf011 commit 47263f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perl/Git/SVN/Editor.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,12 @@ sub T {
358358
mode_a => $m->{mode_a}, mode_b => '000000',
359359
sha1_a => $m->{sha1_a}, sha1_b => '0' x 40,
360360
chg => 'D', file_b => $m->{file_b}
361-
});
361+
}, $deletions);
362362
$self->A({
363363
mode_a => '000000', mode_b => $m->{mode_b},
364364
sha1_a => '0' x 40, sha1_b => $m->{sha1_b},
365365
chg => 'A', file_b => $m->{file_b}
366-
});
366+
}, $deletions);
367367
return;
368368
}
369369

0 commit comments

Comments
 (0)