mirror of
https://github.com/go-gitea/gitea
synced 2025-07-24 11:18:36 +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:
7
modules/git/tests/repos/repo4_commitsbetween/config
Normal file
7
modules/git/tests/repos/repo4_commitsbetween/config
Normal file
@@ -0,0 +1,7 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = false
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
symlinks = false
|
||||
ignorecase = true
|
Reference in New Issue
Block a user