diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-07 20:49:38 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-07 20:49:44 -0800 |
commit | f9ad77a739c0d012ee58b64eda2d7ec0d4e1df9d (patch) | |
tree | 6f2e3a4aa9ba13e5c74f2b838c4031721fc606e6 /git-svn.perl | |
parent | 33f2a3108eeacbd937021470aa6e67c01ceec960 (diff) | |
download | git-f9ad77a739c0d012ee58b64eda2d7ec0d4e1df9d.tar.gz |
git svn: log removals of empty directories
This also adds a test case for:
"git svn: Don't create empty directories whose parents were deleted"
which was the reason we found this bug in the first place.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index bdd1f966c3..5a52068b12 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -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; } |