Open
Description
- Gitea version (or commit ref): 1.9.3
- Git version: 2.16.2
- Operating system: CentOS 7.5
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
When I push new branch to the gitea server with more than one commits, a push event will be sent to the configured webhook.
However, the fields "before" and "compare_url" are incorrect.
Please see the attachment picture for the screenshot.
Reproduce steps:
- Create a new branch with command line "git checkout -b testbranch"
- Make some changes and commit.
- Push to remote with command line "git push --set-upstream origin testbranch".