Skip to content

Commit bed8a19

Browse files
Matthew Ogilviegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ab07681 commit bed8a19

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

git-cvsserver.perl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,6 @@ sub req_add
543543
my $updater = GITCVS::updater->new($state->{CVSROOT}, $state->{module}, $log);
544544
$updater->update();
545545

546-
argsfromdir($updater);
547-
548546
my $addcount = 0;
549547

550548
foreach my $filename ( @{$state->{args}} )

0 commit comments

Comments
 (0)