From cca55e4722fa1ceba8a0933dda974162635f3955 Mon Sep 17 00:00:00 2001 From: John Crygier <john.crygier@aon.com> Date: Thu, 03 May 2012 12:48:16 -0400 Subject: [PATCH] Ability to get / set "custom" properties within a RepositoryModel. This makes getting specialized settings in hooks much easier. --- src/com/gitblit/Constants.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 879c5a4..bbb986b 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -30,7 +30,7 @@ // The build script extracts this exact line so be careful editing it // and only use A-Z a-z 0-9 .-_ in the string. - public static final String VERSION = "0.9.0-SNAPSHOT"; + public static final String VERSION = "1.0.0-SNAPSHOT"; // The build script extracts this exact line so be careful editing it // and only use A-Z a-z 0-9 .-_ in the string. @@ -70,6 +70,8 @@ public static final int LEN_SHORTLOG_REFS = 60; + public static final String DEFAULT_BRANCH = "default"; + public static String getGitBlitVersion() { return NAME + " v" + VERSION; } -- Gitblit v1.9.1