The Bitbucket Data Center Commits page can list a parent commit after one of its child commits, making the commit graph misleading.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 9.4.26
    • None
    • 1
    • Severity 3 - Minor
    • 1

      Issue Summary

      Commits page may list a parent commit above its children, causing graph lines to continue to the bottom of the page.

      Steps to Reproduce

      1. Create branches with different numbers of commits from a shared parent; give the commits identical timestamps.
      2. Merge both branches into main, push, and open Repository > Commits for main.

      Expected Results

      Commits appear in topological order, with children before their parents.

      Actual Results

      A parent may appear above its child commits.

      git log main --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
      *   6c1d3ba - Mon, 2 Nov 2026 21:19:14 +0530 (61 seconds ago) (HEAD -> main, origin/main)
      |\   Merge branch2 into main - Aman Shrivastava
      | * ec88511 - Mon, 2 Nov 2026 21:19:14 +0530 (61 seconds ago) (origin/branch2)
      | |  commit4 (branch2) - Aman Shrivastava
      | * 3404f68 - Mon, 2 Nov 2026 21:19:14 +0530 (61 seconds ago)
      | |  commit3 (branch2) - Aman Shrivastava
      * |   c2e9347 - Mon, 2 Nov 2026 21:19:14 +0530 (61 seconds ago)
      |\ \   Merge branch1 into main - Aman Shrivastava
      | |/
      |/|
      | * 65eb2c7 - Mon, 2 Nov 2026 21:19:14 +0530 (61 seconds ago) (origin/branch1)
      |/   commit2 (branch1) - Aman Shrivastava
      * 640ac67 - Mon, 2 Nov 2026 21:19:14 +0530 (61 seconds ago)
      |  commit1 (main) - Aman Shrivastava
      * 26a6057 - Mon, 2 Nov 2026 21:13:42 +0530 (7 minutes ago) (origin/master, master)
         KAN-3 - Aman Shrivastava
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Aman Shrivastava
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: