]> source.dussan.org Git - gitblit.git/commitdiff
Fixed missing branches on dashboards
authorJames Moger <james.moger@gitblit.com>
Thu, 27 Jun 2013 15:41:33 +0000 (11:41 -0400)
committerJames Moger <james.moger@gitblit.com>
Thu, 27 Jun 2013 15:41:33 +0000 (11:41 -0400)
src/main/java/com/gitblit/utils/RefLogUtils.java

index 0dd6652441836e24f8e000dd40f0534dc024917b..fed55caba3fcce564b4bc64ef0e7af3c3a8591ea 100644 (file)
@@ -554,6 +554,7 @@ public class RefLogUtils {
                }
             String branch = local.getName();
             List<RepositoryCommit> commits = CommitCache.instance().getCommits(repositoryName, repository,  branch, minimumDate);
+            linearParent = null;
             for (RepositoryCommit commit : commits) {
                if (linearParent != null) {
                        if (!commit.getName().equals(linearParent)) {