aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMathias Kinzler <mathias.kinzler@sap.com>2011-01-12 08:50:12 +0100
committerMathias Kinzler <mathias.kinzler@sap.com>2011-01-12 08:50:12 +0100
commit5ebfdc8091c2d3a25ba76def60692bddcad9c771 (patch)
treeae51956a275644d882b2318574cc8ed131ad25df /org.eclipse.jgit
parent05ca0c49f90842da9ad81a0d5a5b91e834648073 (diff)
downloadjgit-5ebfdc8091c2d3a25ba76def60692bddcad9c771.tar.gz
jgit-5ebfdc8091c2d3a25ba76def60692bddcad9c771.zip
ConfigConstants: expose some constants for user name and email.
This is needed by a EGit change http://egit.eclipse.org/r/#change,2232 Change-Id: I3d62f904b769fc2f1b7b8f0f24f7dd757fc9c379 Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
index 9f742062b3..3c396d6ae8 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
@@ -60,6 +60,9 @@ public class ConfigConstants {
/** The "diff" section */
public static final String CONFIG_DIFF_SECTION = "diff";
+ /** The "user" section */
+ public static final String CONFIG_USER_SECTION = "user";
+
/** The "algorithm" key */
public static final String CONFIG_KEY_ALGORITHM = "algorithm";
@@ -95,4 +98,10 @@ public class ConfigConstants {
/** The "autosetupmerge" key */
public static final String CONFIG_KEY_AUTOSETUPMERGE = "autosetupmerge";
+
+ /** The "name" key */
+ public static final String CONFIG_KEY_NAME = "name";
+
+ /** The "email" key */
+ public static final String CONFIG_KEY_EMAIL = "email";
}