-
-
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
Can't delete branch after Pull Request is granted #2245
Comments
Does branch name contains |
no but |
also tried a simple branch name |
Had a similar problem with a centos7 default installation which shipped an older git version. git 1.8.3.1 does not support force deleting branches. I suspect same goes for 2.1.4.
which results in logs like these:
Possible workaround: upgrade git. Anyways, please check your gitea logs for errors. |
@Deruser can you verify that git version is the problem? |
Yes updating to git 2.11.0 via jessie-backports fixed the problem. |
@philfry btw. thanks for the tipp, but the gitea logs did not contain such an error. Which logging level do you use? |
So should we require git version of v2.11.0? It seems not a good idea. |
@Deruser "info", usually.
git 2.13.4:
|
I have created PR to support also older git versions |
@lafriks You have to update the vendor |
[x]
):I'm using gitea at work and one colleague really want's to merge his own branches via PRs into master, which totally works until gitea suggests to delete the branch afterwards. That always fails.
When I tested it on try.gitea.io it worked. Is this a bug in the software which was fixed by a commit between bbe6aa3 and dde0052 or do I need to configure something differently?
The text was updated successfully, but these errors were encountered: