Thread (21 messages) flat view 21 messages, 1 author, 2016-06-15
DORMANTno replies

[PATCH 09/20] cvsserver: cvs add: do not expand directory arguments

From: Matthew Ogilvie <hidden>
Date: 2016-06-15 22:55:01
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 git-cvsserver.perl | 2 --
 1 file changed, 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}} )
-- 
1.7.10.2.484.gcd07cc5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help