Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10571

Add ability to prevent creation of branches with the same name but different case

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      We're having a lot of issues at the moment caused of case differences in branches. Basically, because Windows file systems do not differentiate between case, but the *nix ones do, quite a lot of the time people will end up pushing the same branch but with a differently cased name. This causes problems when Windows users then try and fetch as Git starts moaning that commits don't match etc.

      As simple fix for this could be achieved using a pre-receive hook that effectively checked whether or not this push would create a new branch, and then to confirm that the name of the branch doesn't already exist but with a differently cased name.

      Obviously this is only really relevant to people with a mix of different users on different operating systems, but it would resolve so many headaches for me!

      Attachments

        Activity

          People

            Unassigned Unassigned
            34c0d5bd6892 dcopestake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: