| | |
| | | enableTickets("ticgit.git");
|
| | | enableDocs("ticgit.git");
|
| | | showRemoteBranches("ticgit.git");
|
| | | automaticallyTagBranchTips("ticgit.git");
|
| | | showRemoteBranches("test/jgit.git");
|
| | | automaticallyTagBranchTips("test/jgit.git"); |
| | | }
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private static void automaticallyTagBranchTips(String repositoryName) {
|
| | | try {
|
| | | RepositoryModel model = GitBlit.self().getRepositoryModel(repositoryName);
|
| | | model.useIncrementalPushTags = true;
|
| | | GitBlit.self().updateRepositoryModel(model.name, model, false);
|
| | | } catch (GitBlitException g) {
|
| | | g.printStackTrace();
|
| | | }
|
| | | }
|
| | | |
| | | public static void close(File repository) {
|
| | | try {
|
| | | File gitDir = FileKey.resolve(repository, FS.detect());
|