Implement GIT_CEILING_DIRECTORIES for Eclipse.
commit6651b1d087f197c6ddb1553558c1fc07f1dc4c7a
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Fri, 18 Dec 2009 23:12:15 +0000 (19 00:12 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 21 Dec 2009 04:32:29 +0000 (21 05:32 +0100)
tree1b1a6d57fc46aa22955355cdfc74acbd3551fefe
parent9fd991fcc6c8cde8eda431cfd8a87fa7ff0637f6
Implement GIT_CEILING_DIRECTORIES for Eclipse.

If this environment variable is set it will be interpreted as a list
of directories above which the Git Team Provider does not search
for repositories.

The key here is "search". By explicitly pointing at a repository it can
still be used, regardless of where it is located.

This feature is mostly useful for testing, but can possibly be used to cut
of scans into network directories, which is the original rationale for the
implementation in C Git.

Change-Id: I0d39eaa63670030b495148a4cf2a57add7185f89
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.egit.core.test/META-INF/MANIFEST.MF
org.eclipse.egit.core.test/src/org/eclipse/egit/core/T0003_AdaptableFileTreeIteratorTest.java
org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/Activator.java
org.eclipse.egit.core.test/src/org/eclipse/egit/core/test/GitTestCase.java
org.eclipse.egit.core/src/org/eclipse/egit/core/project/RepositoryFinder.java