Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9731

Repository rename detection incorrectly warns that repository has moved if .git is missing from clone URL

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 5.0.1
    • 5.0.0
    • Repositories
    • None

      In Bitbucket 5.0.0, rename detection for repositories and projects was added. This rename detection writes a warning to git clients using the old clone URLs.

      The detection generates a false positive warning when using a clone URL without the `.git` suffix:

      $ git push origin HEAD:some-branch
      Counting objects: 4, done.
      Delta compression using up to 16 threads.
      Compressing objects: 100% (4/4), done.
      Writing objects: 100% (4/4), 471 bytes | 0 bytes/s, done.
      Total 4 (delta 3), reused 0 (delta 0)
      remote: The repository has moved, please update your configuration:
      remote:   ssh://git@bitbucket.company.com:7999/project/repo-slug.git
      ...
      $ git remote -v
      origin  ssh://git@bitbucket.company.com:7999/project/repo-slug (fetch)
      origin  ssh://git@bitbucket.company.com:7999/project/repo-slug (push)
      

            [BSERV-9731] Repository rename detection incorrectly warns that repository has moved if .git is missing from clone URL

            There are no comments yet on this issue.

              mheemskerk Michael Heemskerk (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: