summaryrefslogtreecommitdiffstats
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>2012-10-14 07:42:22 +0200
committerJunio C Hamano <gitster@pobox.com>2012-10-17 01:16:26 +0200
commitbed8a19743f0ae3f92fd6ad5293bb80b587c9279 (patch)
treeed970777f92b873cfbdceb5b142b533ccfc08220 /git-cvsserver.perl
parentcvsserver: use whole CVS rev number in-process; don't strip "1." prefix (diff)
downloadgit-bed8a19743f0ae3f92fd6ad5293bb80b587c9279.tar.xz
git-bed8a19743f0ae3f92fd6ad5293bb80b587c9279.zip
cvsserver: cvs add: do not expand directory arguments
Standard "cvs add" never does any recursion. With standard cvs, "cvs add dir" will either add just the "dir" to the repository, or error out. Prior to this change, git-cvsserver would try to recurse (perhaps re-adding sandbox-removed files?) into the existing directory instead. Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsserver.perl')
-rwxr-xr-xgit-cvsserver.perl2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 8a7106d8e9..4d514b44c8 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -543,8 +543,6 @@ sub req_add
my $updater = GITCVS::updater->new($state->{CVSROOT}, $state->{module}, $log);
$updater->update();
- argsfromdir($updater);
-
my $addcount = 0;
foreach my $filename ( @{$state->{args}} )