Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] git-svn: avoid crashing svnserve when creating new directories

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:43:11

Possibly related (same subject, not in this thread)

Eric Wong [off-list ref] writes:
 	foreach (sort { $b =~ tr#/#/# <=> $a =~ tr#/#/# } keys %$bat) {
+		next if $_ eq '';
 		$self->close_directory($bat->{$_}, $p);
 	}
+	$self->close_directory($bat->{''}, $p);
Works for me. Thanks a lot!

BTW, I didn't have time to write my script as a real testcase for
git-svn, but it should probably be added to the testsuite.

Thanks again,

-- 
Matthieu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help