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