summaryrefslogtreecommitdiff
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>2012-10-14 05:42:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-16 23:16:26 (GMT)
commitbed8a19743f0ae3f92fd6ad5293bb80b587c9279 (patch)
treeed970777f92b873cfbdceb5b142b533ccfc08220 /git-cvsserver.perl
parentab07681fed75f3810f6c1fca526b763a88d2ba94 (diff)
downloadgit-bed8a19743f0ae3f92fd6ad5293bb80b587c9279.zip
git-bed8a19743f0ae3f92fd6ad5293bb80b587c9279.tar.gz
git-bed8a19743f0ae3f92fd6ad5293bb80b587c9279.tar.bz2
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 8a7106d..4d514b4 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}} )