diff options
author | Matthew Ogilvie <mmogilvi_git@miniinfo.net> | 2012-10-14 05:42:22 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-16 23:16:26 (GMT) |
commit | bed8a19743f0ae3f92fd6ad5293bb80b587c9279 (patch) | |
tree | ed970777f92b873cfbdceb5b142b533ccfc08220 /git-cvsserver.perl | |
parent | ab07681fed75f3810f6c1fca526b763a88d2ba94 (diff) | |
download | git-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-x | git-cvsserver.perl | 2 |
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}} ) |