]> source.dussan.org Git - gitblit.git/commit
RepositoryModel will use String rather than RefModel to track the current 5/head
authorPhilip L. McMahon <philip.l.mcmahon@gmail.com>
Sat, 28 Jan 2012 18:37:04 +0000 (10:37 -0800)
committerPhilip L. McMahon <philip.l.mcmahon@gmail.com>
Sat, 28 Jan 2012 18:57:39 +0000 (10:57 -0800)
commit2cdb73b442169b48da1588ab7cfaac7256677a5e
tree3ea80eefbea2c2f2476e231af06ba180c9ffd690
parent30f9d25d77ccb5cd978d4cf8fa389ec819e90e95
RepositoryModel will use String rather than RefModel to track the current
symbolic head and available heads.

Added convenience methods to JGitUtils to support retrieving available
heads as List<String>.
When resolving the symbolic head target as a String, if the head is
detached, attempt to match the commit SHA1 against the known tags, using
the most recent tag if more than one matches.
Revised error messaging to better reflect actual outcome.
Adjusted tab indexes on edit repository page to include default head combo
box.
Updated message key for default head combo box to use uppercase "HEAD".
src/com/gitblit/GitBlit.java
src/com/gitblit/models/RepositoryModel.java
src/com/gitblit/utils/JGitUtils.java
src/com/gitblit/wicket/GitBlitWebApp.properties
src/com/gitblit/wicket/pages/EditRepositoryPage.html
src/com/gitblit/wicket/pages/EditRepositoryPage.java