summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23b7180)
raw | patch | inline | side by side (parent: 23b7180)
author | Damien Diederen <dash@foobox.net> | |
Thu, 27 Mar 2008 22:17:53 +0000 (23:17 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Mar 2008 23:05:27 +0000 (16:05 -0700) |
This effectively implements the -l switch by pruning the entries whose
filenames contain a path separator. It was previously ignored.
Without this, TkCVS includes strange "ghost" entries in its directory
listings.
Signed-off-by: Damien Diederen <dash@foobox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
filenames contain a path separator. It was previously ignored.
Without this, TkCVS includes strange "ghost" entries in its directory
listings.
Signed-off-by: Damien Diederen <dash@foobox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl | patch | blob | history |
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 444ec0db797dff8e99d9f619912154c6416925d2..89a4dac291b1d6626b769c91cafc653658cf53cf 100755 (executable)
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
{
$filename = filecleanup($filename);
+ next if exists($state->{opt}{l}) && index($filename, '/', length($state->{prependdir})) >= 0;
+
my $meta = $updater->getmeta($filename);
my $oldmeta = $meta;