Skip to content

Commit

Permalink
Merge branch 'master' of git://bogomips.org/git-svn
Browse files Browse the repository at this point in the history
* 'master' of git://bogomips.org/git-svn:
  git-svn.perl: close the edit for propedits even with no mods
  • Loading branch information
gitster committed Dec 6, 2011
2 parents 7e02a6c + 93ccbba commit 4cb5d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -5389,7 +5389,7 @@ sub apply_diff {
$self->{mergeinfo});
}
$self->rmdirs if $_rmdir;
if (@$mods == 0) {
if (@$mods == 0 && !defined($self->{mergeinfo})) {
$self->abort_edit;
} else {
$self->close_edit;
Expand Down

0 comments on commit 4cb5d10

Please sign in to comment.