Skip to content

Commit

Permalink
Git::SVN::Editor::T: pass $deletions to ->A and ->D
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jrn authored and Eric Wong committed Jan 17, 2013
1 parent eacf011 commit 47263f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perl/Git/SVN/Editor.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 47263f5

Please sign in to comment.