On 2012/03/26 10:16, Stuart Henderson wrote: > An addition to ignore .git files, some of us use git locally to track > changes pre-commit and, just like the existing ignore entries for > RCS/SCCS/CVS control files, there is no reason to import these to CVS > without an explicit ignore.
A few offlist comments asked about adding ignores for other vcs. I think this makes sense for vcs which people actually use "over the top of cvs" but I don't know what people are actually using for this, and I'm not sure it makes sense to add a bunch pre-emptively. (bzr, hg, git, svn, fossil, where do we stop?) So what do people use with these directories? (This isn't a general "what vcs do people use" question, it refers to what people use in the *same directories* that they might also use with cvs, and this is primarily a problem with "cvs import" mainly used by people committing new ports and merging upstream code into the src and xenocara trees). > Index: src/ignore.c > =================================================================== > RCS file: /cvs/src/gnu/usr.bin/cvs/src/ignore.c,v > retrieving revision 1.16 > diff -u -p -r1.16 ignore.c > --- src/ignore.c 4 Mar 2012 04:05:15 -0000 1.16 > +++ src/ignore.c 26 Mar 2012 09:11:41 -0000 > @@ -33,8 +33,8 @@ static int ign_size; /* This many > slot > static int ign_hold = -1; /* Index where first "temporary" item > * is held */ > > -const char *ign_default = ". .. core RCSLOG tags TAGS RCS SCCS .make.state\ > - .*.swp\ > +const char *ign_default = ". .. RCSLOG tags TAGS RCS SCCS .make.state\ > + .*.swp *.core .git\ > .nse_depinfo #* .#* cvslog.* ,* CVS CVS.adm .del-* *.a *.olb *.o *.obj\ > *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$ > *.depend";
