| | |
| | | Map<String, Activity> activity = new HashMap<String, Activity>();
|
| | | for (RepositoryModel model : models) {
|
| | | if (model.hasCommits && model.lastChange.after(thresholdDate)) {
|
| | | if (model.isCollectingGarbage) {
|
| | | continue;
|
| | | }
|
| | | Repository repository = GitBlit.self()
|
| | | .getRepository(model.name);
|
| | | List<String> branches = new ArrayList<String>();
|
| | |
| | | branches.add(objectId);
|
| | | }
|
| | | Map<ObjectId, List<RefModel>> allRefs = JGitUtils
|
| | | .getAllRefs(repository);
|
| | | .getAllRefs(repository, model.showRemoteBranches);
|
| | |
|
| | | for (String branch : branches) {
|
| | | String shortName = branch;
|