jgit/org.eclipse.jgit
Robin Rosenberg eb63bfc1b8 Recognize Git repository environment variables
This makes the jgit command line behave like the C Git implementation
in the respect.

These variables are not recognized in the core, though we add support
to do the overrides there. Hence other users of the JGit library, like
the Eclipse plugin and others, will not be affected.

GIT_DIR
	The location of the ".git" directory.

GIT_WORK_TREE
	The location of the work tree.

GIT_INDEX_FILE
	The location of the index file.

GIT_CEILING_DIRECTORIES
	A colon (semicolon on Windows) separated list of paths that
	which JGit will not cross when looking for the .git directory.

GIT_OBJECT_DIRECTORY
	The location of the objects directory under which objects are
	stored.

GIT_ALTERNATE_OBJECT_DIRECTORIES
	A colon (semicolon on Windows) separated list of object directories
	to search for objects.

In addition to these we support the core.worktree config setting when
the git directory is set deliberately instead of being found.

Change-Id: I2b9bceb13c0f66b25e9e3cefd2e01534a286e04c
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2009-12-28 15:58:47 -08:00
..
.settings Eclipse IDE: Automatically remove trailing whitespace on save 2009-10-31 14:53:29 -07:00
META-INF Move AWT UI code to new org.eclipse.jgit.ui bundle 2009-10-31 16:35:10 -07:00
findBugs Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
src/org/eclipse/jgit Recognize Git repository environment variables 2009-12-28 15:58:47 -08:00
.classpath Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
.fbprefs Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
.gitignore Refactor our Maven build to be modular 2009-11-02 17:53:58 -08:00
.project Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
build.properties Initial JGit contribution to eclipse.org 2009-09-29 16:47:03 -07:00
plugin.properties Mark our one Eclipse plugin as in incubation status 2009-09-29 18:03:31 -07:00
pom.xml Flipped jgit.core to manifest-first maven-3/tycho build 2009-12-08 13:23:50 +01:00