From 072643f0b4b808d7fdf4cb73c65045e3b034dad8 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 15 Apr 2011 17:32:28 -0400
Subject: [PATCH] Show commit parents on separate lines. "tagger" instead of "author".
---
src/com/gitblit/Constants.java | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 5de10cd..75f1bad 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -4,9 +4,25 @@
public final static String NAME = "Git:Blit";
- public final static String VERSION = "0.11.3";
+ public final static String VERSION = "0.0.1";
+
+ public final static String ADMIN_ROLE = "admin";
+
+ public final static String PULL_ROLE = "pull";
+
+ public final static String PUSH_ROLE = "push";
+
+ public final static String PROPERTIES_FILE = "gitblit.properties";
+
+ public static String getGitBlitVersion() {
+ return NAME + " v" + VERSION;
+ }
+
+ public static String getJGitVersion() {
+ return "JGit 0.11.3";
+ }
public static String getRunningVersion() {
- return NAME + " v" + VERSION;
+ return getGitBlitVersion();
}
}
--
Gitblit v1.9.1