mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
Fix webhook commits wrong hash on HEAD reset (#16283)
Use `..` instead of `...` with `rev-list`. In combination with #16282 the receiver can get the correct commit. The behaviour is now like Github. fixes #11802
This commit is contained in:
1
modules/git/tests/repos/repo4_commitsbetween/HEAD
Normal file
1
modules/git/tests/repos/repo4_commitsbetween/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/main
|
Reference in New Issue
Block a user