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>

Matthew Ogilvie committed Oct 13, 2012 at 23:42 UTC bed8a19743f0ae3f92fd6ad5293bb80b587c9279
1 file changed -2
git-cvsserver.perl
-2
@@ -543,8 +543,6 @@ sub req_add
543 my $updater = GITCVS::updater->new($state->{CVSROOT}, $state->{module}, $log);
544 $updater->update();
545
546 - argsfromdir($updater);
547 -
546 my $addcount = 0;
547
548 foreach my $filename ( @{$state->{args}} )