From: Matthew Ogilvie Date: Sun, 14 Oct 2012 05:42:22 +0000 (-0600) Subject: cvsserver: cvs add: do not expand directory arguments X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bed8a19743f0ae3f92fd6ad5293bb80b587c9279;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/git-cvsserver.perl b/git-cvsserver.perl index 8a7106d8e..4d514b44c 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}} )