From 5ebfdc8091c2d3a25ba76def60692bddcad9c771 Mon Sep 17 00:00:00 2001 From: Mathias Kinzler Date: Wed, 12 Jan 2011 08:50:12 +0100 Subject: [PATCH] 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 --- .../src/org/eclipse/jgit/lib/ConfigConstants.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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"; } -- 2.39.5