Skip to content

Commit 93ccbba

Browse files
srwalterEric Wong
authored andcommitted
git-svn.perl: close the edit for propedits even with no mods
It's legitimate to update the mergeinfo property without actually changing any files. This can happen when changes are backported to a branch, and then that branch is merged back into mainline. We still want to record the updated mergeinfo for book-keeping. Signed-off-by: Steven Walter <[email protected]> Acked-by: Eric Wong <[email protected]>
1 parent fc14b89 commit 93ccbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svn.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5389,7 +5389,7 @@ sub apply_diff {
53895389
$self->{mergeinfo});
53905390
}
53915391
$self->rmdirs if $_rmdir;
5392-
if (@$mods == 0) {
5392+
if (@$mods == 0 && !defined($self->{mergeinfo})) {
53935393
$self->abort_edit;
53945394
} else {
53955395
$self->close_edit;

0 commit comments

Comments
 (0)