]> source.dussan.org Git - gitea.git/commit
Fix 500 Error with branch and tag sharing the same name #15592 (#16040)
authorViktor Yakovchuk <viktor@yakovchuk.net>
Wed, 23 Jun 2021 21:08:26 +0000 (00:08 +0300)
committerGitHub <noreply@github.com>
Wed, 23 Jun 2021 21:08:26 +0000 (17:08 -0400)
commit08f4b3f31288bc4e12e94f00c7d88583ab04dd2e
tree79a9157a6a105493744491d2764739dccbba19a9
parentf2babf334676f9c16a540153432bc6e4ebf62423
Fix 500 Error with branch and tag sharing the same name #15592 (#16040)

* Fix 500 Error with branch and tag sharing the same name #15592

Fixed 500 error while create Pull request when there are more
than one sources (branch, tag) with the same name

Fix #15592

Signed-off-by: Viktor Yakovchuk <viktor@yakovchuk.net>
* fix logging

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
modules/git/error.go
modules/git/repo.go
services/pull/pull.go