Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Ogilvie <mmogilvi_git@miniinfo.net>2012-10-14 09:42:22 +0400
committerJunio C Hamano <gitster@pobox.com>2012-10-17 03:16:26 +0400
commitbed8a19743f0ae3f92fd6ad5293bb80b587c9279 (patch)
treeed970777f92b873cfbdceb5b142b533ccfc08220 /git-cvsserver.perl
parentab07681fed75f3810f6c1fca526b763a88d2ba94 (diff)
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}} )