Browse Source

Documentation

tags/v1.4.0
James Moger 10 years ago
parent
commit
da97a6a892

+ 3
- 3
src/main/java/com/gitblit/tickets/BranchTicketService.java View File

@@ -189,7 +189,7 @@ public class BranchTicketService extends ITicketService implements RefsChangedLi
}

/**
* 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 @@ public class BranchTicketService extends ITicketService implements RefsChangedLi
}

/**
* Creates the refs/gitblit/tickets branch.
* Creates the refs/meta/gitblit/tickets branch.
* @param db
*/
private void createTicketsBranch(Repository db) {
@@ -240,7 +240,7 @@ public class BranchTicketService extends ITicketService implements RefsChangedLi
* 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();

+ 1
- 1
src/site/administration.mkd View File

@@ -119,7 +119,7 @@ You can not use fast-forward merges on your client when using committer verifica
#### 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.

Loading…
Cancel
Save