git svn: log removals of empty directories
[gitweb.git] / git-svn.perl
index bdd1f966c37cc3454bfcbd0968146dbd73578717..5a52068b129f6ab5daa76dc4da57c2e2fe2d8591 100755 (executable)
@@ -3891,11 +3891,11 @@ sub delete_entry {
                }
                print "\tD\t$gpath/\n" unless $::_q;
                command_close_pipe($ls, $ctx);
-               $self->{empty}->{$path} = 0
        } else {
                $self->{gii}->remove($gpath);
                print "\tD\t$gpath\n" unless $::_q;
        }
+       $self->{empty}->{$path} = 0;
        undef;
 }