Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 <>
  • Loading branch information...
commit bed8a19743f0ae3f92fd6ad5293bb80b587c9279 1 parent ab07681
Matthew Ogilvie authored gitster committed
Showing with 0 additions and 2 deletions.
  1. +0 −2  git-cvsserver.perl
2  git-cvsserver.perl
@@ -543,8 +543,6 @@ sub req_add
my $updater = GITCVS::updater->new($state->{CVSROOT}, $state->{module}, $log);
- argsfromdir($updater);
my $addcount = 0;
foreach my $filename ( @{$state->{args}} )
Please sign in to comment.
Something went wrong with that request. Please try again.