Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5594

git main branch name unknown until first change detected in remote repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Low Low
    • N/A
    • 3.7.0
    • None

      FishEye, when indexing git repositories, detects default branch on the remote repository. But this information is not persisted, so after instance restart, the default branch would be unknown until first slurp of remote repository detects new changes that needs to be indexed.
      So for repositories where there is no activity in remote repository since last indexing, or where remote repositories are no longer available, the default branch name would be unknown.
      Also, when remote repository has no default branch specified (git remote show <<URL>> returns "HEAD branch: (unknown)" for instance), the default branch would never be set) - perhaps fallback to master would be better?

      This causes few problems with FishEye/Crucible:

      Suggested fix:

              Unassigned Unassigned
              pswiecicki Piotr Swiecicki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: