From 94b96b5a98bef254128ccc4f5fc0e0c4376324e4 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 13 Apr 2011 17:45:22 -0400
Subject: [PATCH] Start of webapp authentication.
---
src/com/gitblit/Constants.java | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 5de10cd..052055a 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -4,9 +4,17 @@
public final static String NAME = "Git:Blit";
- public final static String VERSION = "0.11.3";
+ public final static String VERSION = "0.0.1";
+
+ 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