diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2021-06-30 19:49:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 19:49:06 +0200 |
commit | 7d70a6eff8a8fb03f02c606f5dcacccb9c1cab47 (patch) | |
tree | 92e9c47135bec913c2da42f3325540235fc979a5 /modules/git/tests/repos/repo4_commitsbetween/config | |
parent | 66bf74d1b924a91c279d3c68cb01d038300b551a (diff) | |
download | gitea-7d70a6eff8a8fb03f02c606f5dcacccb9c1cab47.tar.gz gitea-7d70a6eff8a8fb03f02c606f5dcacccb9c1cab47.zip |
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
Diffstat (limited to 'modules/git/tests/repos/repo4_commitsbetween/config')
-rw-r--r-- | modules/git/tests/repos/repo4_commitsbetween/config | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/git/tests/repos/repo4_commitsbetween/config b/modules/git/tests/repos/repo4_commitsbetween/config new file mode 100644 index 0000000000..d545cdabdb --- /dev/null +++ b/modules/git/tests/repos/repo4_commitsbetween/config @@ -0,0 +1,7 @@ +[core] + repositoryformatversion = 0 + filemode = false + bare = false + logallrefupdates = true + symlinks = false + ignorecase = true |