aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/resources
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2010-12-28 17:15:18 +0100
committerRobin Rosenberg <robin.rosenberg@dewire.com>2010-12-31 11:48:34 +0100
commit797ebba30707259f7a4bc06baa40360ab79d2ff8 (patch)
treeea089758d503ecacccdd0adfa409c292681f3c71 /org.eclipse.jgit/resources
parent240769e023c4ea6c8394c25d58fdca7f0bb82948 (diff)
downloadjgit-797ebba30707259f7a4bc06baa40360ab79d2ff8.tar.gz
jgit-797ebba30707259f7a4bc06baa40360ab79d2ff8.zip
Add support for getting the system wide configuration
These settings are stored in <prefix>/etc/gitconfig. The C Git binary is installed in <prefix>/bin, so we look for the C Git executable to find this location, first by looking at the PATH environment variable and then by attemting to launch bash as a login shell to find out. Bug: 333216 Change-Id: I1bbee9fb123a81714a34a9cc242b92beacfbb4a8 Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r--org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
index 05a429ddfa..9e47d618f7 100644
--- a/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
+++ b/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
@@ -393,6 +393,7 @@ startingReadStageWithoutWrittenRequestDataPendingIsNotSupported=Starting read st
statelessRPCRequiresOptionToBeEnabled=stateless RPC requires {0} to be enabled
submodulesNotSupported=Submodules are not supported
symlinkCannotBeWrittenAsTheLinkTarget=Symlink "{0}" cannot be written as the link target cannot be read from within Java.
+systemConfigFileInvalid=Systen wide config file {0} is invalid {1}
tagNameInvalid=tag name {0} is invalid
tagOnRepoWithoutHEADCurrentlyNotSupported=Tag on repository without HEAD currently not supported
tSizeMustBeGreaterOrEqual1=tSize must be >= 1