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>
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";
}