Subject: Re: [PATCH] New files in git weren't being downloaded during CVS update

From: Simon 'corecode' Schubert <[email-masked]>
Date: Sat, 20 Jan 2007 02:19:37 +0100

Andy Parkins wrote:
> diff --git a/git-cvsserver.perl b/git-cvsserver.perl
> index a33a876..c370a53 100755
> --- a/git-cvsserver.perl
> +++ b/git-cvsserver.perl
> @@ -882,7 +882,6 @@ sub req_update
>  		print "MT text A \n";
>                  print "MT fname $filename\n";
>                  print "MT newline\n";
> -		next;

I think this is the wrong fix.  Reading cvs's classify.c, T_ADDED is only generated for *locally* added files, never for added files in the repo.  The correct status would be "U" as well.

cheers
  simon

-- 
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \