Wrong wiki url after project move
After a project was moved, and a new commit in the associated wiki repository is pushed, the remote suggests the wrong name and url for the wiki repository.
Steps to reproduce
- Create a project, and clone its wiki repository.
- Rename the (base) project.
- Make a new commit in the wiki repository, and push it (using the now old URL)
What is the current bug behavior?
The remote suggests the following:
remote: Project 'OLD_USER/PROJECT_NAME.wiki' was moved to 'NEW_USER/PROJECT_NAME'. remote: remote: Please update your Git remote: remote: remote: git remote set-url origin git@BASE_URL:NEW_USER/PROJECT_NAME.git
What is the expected correct behavior?
- In the first line, the
.wikishould be either removed from the old name, or added to the new name.
- The correct url
git@BASE_URL:NEW_USER/PROJECT_NAME.wiki.gitshould be shown in the last line.
Results of GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.5.3p105 Gem Version: 2.7.6 Bundler Version:1.16.6 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.18.1 Sidekiq Version:5.2.3 Go Version: unknown GitLab information Version: 11.7.5 Revision: c5b5b18 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 8.4.4 Repository storage paths: - default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
(URL information removed)