Displaying Behind/Ahead for commits pointing to multiple branches causes the number(Behind/Ahead) to double by the number of branches

XMLWordPrintable

    • Severity 3 - Minor
    • 5

      Issue Summary

      Displaying Behind/Ahead for commits pointing to multiple branches causes the number(Behind/Ahead) to double by the number of branches

      Steps to Reproduce

      1. Create branch1, branch2 and branch3 - three branch from master branch
      2. Make two commits on the master branch
      3. Observe the Branches page. You will see that all three branch are 6 commit behind master instead of two commits

      Expected Results

      You would see 2 commits behind master

      Actual Results

      You see 6 commits behind master (2 commits * 3 branches)

      Workaround

      1. Open the specific branch (any of the branch) and it will display only the commits ahead/behind of it in regards to the destination branch
      2. Check the commits ahead/behind locally using git rev-list --left-right --count branch1...branch2

            Assignee:
            Unassigned
            Reporter:
            Felipe S. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: