-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't merge PR if tag and name of branch with this name #13851
Labels
Comments
a1012112796
added a commit
to a1012112796/gitea
that referenced
this issue
Dec 7, 2020
fix dst refspec error in 'Push back to upstream' when base branch have same name with a tag. fix go-gitea#13851 Signed-off-by: a1012112796 <1012112796@qq.com>
6543
added a commit
that referenced
this issue
Dec 8, 2020
fix dst refspec error in 'Push back to upstream' when base branch have same name with a tag. fix #13851 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
a1012112796
added a commit
to a1012112796/gitea
that referenced
this issue
Dec 8, 2020
…#13882) fix dst refspec error in 'Push back to upstream' when base branch have same name with a tag. fix go-gitea#13851 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: zeripath <art27@cantab.net>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1.14.0+dev-225-g5bd05331c
2.26.2
Ubuntu 18.04.5 LTS
Gitea running in docker
[x]
):Description
If I merge PR, i see 500-error, because early was created tag = branch name.
I want to see in UI message: "you have tag and name of branch with this name"
2020/12/03 17:26:49 routers/repo/pull.go:916:MergePullRequest() [E] Merge: git push: error: dst refspec RC_Release_2020_3 matches more than one
error: failed to push some refs to '/data/git/repositories/org1/repo_datel.git'
Screenshots
The text was updated successfully, but these errors were encountered: