James Moger
2014-03-08 da97a6a8921da24e8d222ba3eea57f9d0f2f8f44
Documentation
2 files modified
8 ■■■■ changed files
src/main/java/com/gitblit/tickets/BranchTicketService.java 6 ●●●● patch | view | raw | blame | history
src/site/administration.mkd 2 ●●● patch | view | raw | blame | history
src/main/java/com/gitblit/tickets/BranchTicketService.java
@@ -189,7 +189,7 @@
    }
    /**
     * Returns a RefModel for the refs/gitblit/tickets branch in the repository.
     * Returns a RefModel for the refs/meta/gitblit/tickets branch in the repository.
     * If the branch can not be found, null is returned.
     *
     * @return a refmodel for the gitblit tickets branch or null
@@ -227,7 +227,7 @@
    }
    /**
     * Creates the refs/gitblit/tickets branch.
     * Creates the refs/meta/gitblit/tickets branch.
     * @param db
     */
    private void createTicketsBranch(Repository db) {
@@ -240,7 +240,7 @@
     * folder with the remaining characters as a subfolder within that folder.
     *
     * @param ticketId
     * @return the root path of the ticket content on the refs/gitblit/tickets branch
     * @return the root path of the ticket content on the refs/meta/gitblit/tickets branch
     */
    private String toTicketPath(long ticketId) {
        StringBuilder sb = new StringBuilder();
src/site/administration.mkd
@@ -119,7 +119,7 @@
#### Reflog
Gitblit v1.2.1 introduced an incomplete reflog mechanism which was completed in 1.3.0.  All pushes to Gitblit are automatically logged on an orphan branch, refs/gitblit/reflog.  If this ref exists, the reflog page link will be displayed on the repository pages.
Gitblit v1.2.1 introduced an incomplete reflog mechanism which was completed in 1.3.0.  All pushes to Gitblit are automatically logged on an orphan branch, `refs/meta/gitblit/reflog`.  If this ref exists, the reflog page link will be displayed on the repository pages.
This reflog is similar to, but not the same as, the normal Git reflog. The Gitblit reflog links Gitblit accounts to ref changes and because it is stored on an orphan branch, the reflog is portable by the federation mechanism or by a normal <code>git clone --mirror</code> command.