]> source.dussan.org Git - jgit.git/commitdiff
ConfigConstants: expose some constants for user name and email. 31/2231/2
authorMathias Kinzler <mathias.kinzler@sap.com>
Wed, 12 Jan 2011 07:50:12 +0000 (08:50 +0100)
committerMathias Kinzler <mathias.kinzler@sap.com>
Wed, 12 Jan 2011 07:50:12 +0000 (08:50 +0100)
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>
org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java

index 9f742062b3301fc3050b01b89215bd76d33d9883..3c396d6ae83bba716a2b200e28bf634f9d901c52 100644 (file)
@@ -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";
 }