forgejo/modules/git
Gabor Pihaj 67a9b80c51 feat: include non-conventional headers in payload for git signatures (#9558)
This patch is meant to fix #8255, by adding all (even unknown) git commit headers to the payload.

Unit test is added.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9558
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Gabor Pihaj <gabor.pihaj@gmail.com>
Co-committed-by: Gabor Pihaj <gabor.pihaj@gmail.com>
2025-10-14 02:18:01 +02:00
..
foreachref
internal
pipeline feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
pushoptions feat: AGit push options starting with {base64} are decoded (#8479) 2025-07-10 17:51:19 +02:00
tests/repos feat: improve getting shortstat (#9587) 2025-10-10 14:15:38 +02:00
url Update dependency go to v1.25 (forgejo) (#8908) 2025-10-08 15:57:37 +02:00
batch.go
batch_reader.go
blame.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
blame_sha256_test.go
blame_test.go
blob.go feat: detect Interlisp sources as text (#8377) 2025-07-02 07:38:46 +02:00
blob_test.go git/blob: GetContentBase64 with fewer allocations and no goroutine (#8297) 2025-06-27 11:22:10 +02:00
command.go
command_race_test.go
command_test.go
commit.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
commit_info.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
commit_info_test.go
commit_reader.go feat: include non-conventional headers in payload for git signatures (#9558) 2025-10-14 02:18:01 +02:00
commit_sha256_test.go
commit_test.go feat: include non-conventional headers in payload for git signatures (#9558) 2025-10-14 02:18:01 +02:00
diff.go
diff_compare.go feat: improve checking if diffs differ (#8451) 2025-07-16 18:19:27 +02:00
diff_compare_test.go feat: improve checking if diffs differ (#8451) 2025-07-16 18:19:27 +02:00
diff_test.go
error.go
git.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
git_test.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
grep.go fix(ui): restore code search types (#9053) 2025-08-29 18:56:54 +02:00
grep_test.go fix: make test suite run on older git version (#8188) 2025-06-14 19:50:58 +02:00
hook.go
last_commit_cache.go
log_name_status.go
notes.go
notes_test.go
object_format.go
object_id.go
object_id_test.go
object_signature.go
parse.go fix: do better parsing of file modes (#9161) 2025-09-04 21:58:12 +02:00
parse_test.go fix: do better parsing of file modes (#9161) 2025-09-04 21:58:12 +02:00
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
ref.go
ref_test.go
remote.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
repo.go fix: use credentials helpers for git clones 2025-08-30 08:52:15 +02:00
repo_archive.go
repo_attribute.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
repo_attribute_test.go chore: use standard library function (#8334) 2025-06-29 08:06:38 +02:00
repo_base.go
repo_base_test.go
repo_blame.go chore: refactor LineBlame (#8419) 2025-07-05 16:31:53 +02:00
repo_blame_test.go chore: refactor LineBlame (#8419) 2025-07-05 16:31:53 +02:00
repo_blob_test.go
repo_branch.go chore: Refactor Is{Reference,Branch}Exist (#8425) 2025-07-06 07:16:43 +02:00
repo_branch_test.go chore: Refactor Is{Reference,Branch}Exist (#8425) 2025-07-06 07:16:43 +02:00
repo_commit.go fix: ignore existence of commits for force pushes (#9262) 2025-09-12 07:27:15 +02:00
repo_commit_test.go fix: ignore existence of commits for force pushes (#9262) 2025-09-12 07:27:15 +02:00
repo_commitgraph.go feat: bump the minimum required Git version from 2.0.0 to 2.34.1 (#8328) 2025-06-29 00:44:18 +02:00
repo_compare.go feat: avoid remote for codeowner's merge base (#9610) 2025-10-10 15:50:38 +02:00
repo_compare_test.go feat: avoid remote for codeowner's merge base (#9610) 2025-10-10 15:50:38 +02:00
repo_gpg.go
repo_hook.go
repo_index.go
repo_language_stats.go
repo_language_stats_test.go
repo_object.go
repo_ref.go
repo_ref_test.go
repo_stats.go
repo_stats_test.go
repo_tag.go
repo_tag_test.go
repo_test.go chore: add clone credential unit test 2025-08-30 08:52:20 +02:00
repo_tree.go
signature.go
signature_test.go
submodule.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
submodule_test.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
tag.go
tag_test.go
tree.go
tree_blob.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
tree_entry.go git/commit: re-implement submodules file reader (#8438) 2025-07-15 00:20:00 +02:00
tree_entry_mode.go
tree_test.go
utils.go chore: Remove LimitedReaderCloser 2025-01-31 10:43:29 +01:00
utils_test.go

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.