•  
      request #23447 Git should browse default branch
    Infos
    #23447
    Manuel Vacelet (vaceletm)
    2022-02-07 10:06
    2021-10-15 14:12
    24992
    Details
    Git should browse default branch

    By default, git repository browsing is done on the most recently update branch.

    As we now have the concept of default branch, the repository should be presented with this branch instead.

    SCM/Git
    Empty
    Empty
    • [x] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Waiting for information
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar

    As far as I can tell, it seems that the UI takes the most recent branch or maybe it displays the most recent branch instead of default after a merge (ie when there are 2 branches for the same sha1).

    I reproduce this when I'm doing the Pull Request tests of the test suite

    User avatar

    Hello,

    I'm not able to reproduce this issue. With my tests, we are redirected to the default branch when accessing a Git repository.

    Can you please share more details about what you were doing?


    • Status changed from New to Waiting for information