mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 18:02:28 +02: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:
parent
66bf74d1b9
commit
7d70a6eff8
16 changed files with 48 additions and 5 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue