Merge branch 'master' of git://bogomips.org/git-svn

* 'master' of git://bogomips.org/git-svn:
  git-svn.perl: close the edit for propedits even with no mods
This commit is contained in:
Junio C Hamano
2011-12-05 21:02:51 -08:00

View File

@ -5389,7 +5389,7 @@ sub apply_diff {
$self->{mergeinfo}); $self->{mergeinfo});
} }
$self->rmdirs if $_rmdir; $self->rmdirs if $_rmdir;
if (@$mods == 0) { if (@$mods == 0 && !defined($self->{mergeinfo})) {
$self->abort_edit; $self->abort_edit;
} else { } else {
$self->close_edit; $self->close_edit;