From a411c8d64a9f9a2fb0001c6fc6fa76fc81eded1b Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 11 Apr 2012 08:29:14 -0400
Subject: [PATCH] Example post-receive hook script for creating a local clone on push
---
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