[cvsnt] Latest updates - cvsnt 2.5.01 build 1997
David Somers
dsomers at trevezel.com
Tue Jun 14 12:20:41 BST 2005
I just realized that
if(!strcmp(optarg,"@"))
should be
if(strcmp(optarg,"@"))
shouldn't it? (since you want ignore_cvsignore set when the argument IS
matched against "@")
Or to summarize the changes:
--- import.c 13 Jun 2005 23:06:06 -0000 1.38.2.71
+++ import.c 14 Jun 2005 11:14:38 -0000
@@ -139,8 +139,11 @@
message = xstrdup(optarg);
break;
case 'I':
- if(!strcmp(optarg,"@"))
+ if(strcmp(optarg,"@"))
+ {
ignore_cvsignore = 1;
+ ign_add ("!", 0);
+ }
else
ign_add (optarg, 0);
break;
@@ -511,7 +514,7 @@
if (server_active && strcmp (dp->d_name, CVSADM) == 0)
goto one_more_time_boys;
#endif
- if (ign_name (dp->d_name))
+ if (ignore_cvsignore==0 && ign_name (dp->d_name))
{
add_log ('I', dp->d_name);
goto one_more_time_boys;
Cheers,
David.
> case 'I':
> if(!strcmp(optarg,"@"))
> ignore_cvsignore = 1;
> else
> ign_add (optarg, 0);
> break;
>
> should be more like
> case 'I':
> if(!strcmp(optarg,"@"))
> {
> ign_add ("!", 0);
> ignore_cvsignore = 1;
> }
> else
> ign_add (optarg, 0);
> break;
>
> Cheers,
>
> David.
>
>
>
>
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list