Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Repository migration to Git - Today

On Thu, Jul 21, 2011 at 10:56 AM, John Arthorne <arthorne.eclipse@xxxxxxxxx> wrote:
True. The .cvsignore files were bogus anyway and needed cleaning up. A .gitignore at the repository root would have covered many cases, but at least in p2 there were a half dozen projects with other things in the ignore file, like "lib", "bin_ant", etc. Managing this at the project level seemed the most reliable way to get that kind of control.

AFAIK it reads them from bottom to top, so you can still have your main gitignore in the repo root (really, a best practice) and provide the few extra ignores in the projects for which it matters.

As an aside, you could also list them all in the repo root (you can specify a full path from there).  The disadvantage is you are managing them in one location, the advantage is you won't have to bump bundle qualifiers related to gitignore.

http://www.kernel.org/pub/software/scm/git/docs/gitignore.html


--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top