summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMathias Kinzler2011-01-12 02:50:12 (EST)
committer Mathias Kinzler2011-01-12 02:50:12 (EST)
commit5ebfdc8091c2d3a25ba76def60692bddcad9c771 (patch)
treeae51956a275644d882b2318574cc8ed131ad25df
parent05ca0c49f90842da9ad81a0d5a5b91e834648073 (diff)
downloadjgit-5ebfdc8091c2d3a25ba76def60692bddcad9c771.zip
jgit-5ebfdc8091c2d3a25ba76def60692bddcad9c771.tar.gz
jgit-5ebfdc8091c2d3a25ba76def60692bddcad9c771.tar.bz2
ConfigConstants: expose some constants for user name and email.refs/changes/31/2231/2
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>
-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 9f74206..3c396d6 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";
}