summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/Constants.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-05-31 20:08:50 -0400
committerJames Moger <james.moger@gitblit.com>2013-05-31 20:08:50 -0400
commit9b26b74d198aa4efbe4b25f6667b98eb5261e13d (patch)
treef6078f62229b5bb42964da39d29de07998351b9a /src/main/java/com/gitblit/Constants.java
parentb5a318c0e6340dc546323ea2ccd3861e55beff62 (diff)
downloadgitblit-9b26b74d198aa4efbe4b25f6667b98eb5261e13d.tar.gz
gitblit-9b26b74d198aa4efbe4b25f6667b98eb5261e13d.zip
Refinements to push log display and daily digests
* Properly support timezone-based date groupings * Polish css for the major browsers on Win & Linux * Use Gitblit constants for refs instead of JGit constants
Diffstat (limited to 'src/main/java/com/gitblit/Constants.java')
-rw-r--r--src/main/java/com/gitblit/Constants.java18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/Constants.java b/src/main/java/com/gitblit/Constants.java
index 0514045d..cd0fea6c 100644
--- a/src/main/java/com/gitblit/Constants.java
+++ b/src/main/java/com/gitblit/Constants.java
@@ -80,13 +80,27 @@ public class Constants {
public static final String ISO8601 = "yyyy-MM-dd'T'HH:mm:ssZ";
- public static final String R_GITBLIT = "refs/gitblit/";
-
public static final String baseFolder = "baseFolder";
public static final String baseFolder$ = "${" + baseFolder + "}";
public static final String contextFolder$ = "${contextFolder}";
+
+ public static final String HEAD = "HEAD";
+
+ public static final String R_GITBLIT = "refs/gitblit/";
+
+ public static final String R_HEADS = "refs/heads/";
+
+ public static final String R_NOTES = "refs/notes/";
+
+ public static final String R_CHANGES = "refs/changes/";
+
+ public static final String R_PULL= "refs/pull/";
+
+ public static final String R_TAGS = "refs/tags/";
+
+ public static final String R_REMOTES = "refs/remotes/";
public static String getVersion() {
String v = Constants.class.getPackage().getImplementationVersion();