forgejo/modules/git
Gabor Pihaj 73b30acbd0 feat: replace repo based server-side hooks with centralised hooks (#10397)
This PR is replacing repository based hooks hooks with centralised files, this way the files don't need to be copied into every repository, only one line of config need to be added in the repository.

Closes: #3523

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10397
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-04-27 22:34:46 +02:00
..
foreachref chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
internal
pipeline
pushoptions chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
tests/repos fix: always include files set to be detectable for language stats (#11685) 2026-04-18 00:56:08 +02:00
url
batch.go
batch_reader.go
blame.go
blame_sha256_test.go
blame_test.go
blob.go
blob_test.go
command.go fix: store pull mirror creds encrypted with keying (#11909) 2026-04-04 13:53:22 +02:00
command_race_test.go
command_test.go
commit.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
commit_info.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
commit_info_test.go
commit_reader.go
commit_sha256_test.go
commit_test.go
diff.go fix: display code comments on removed lines-of-code to correct locations in PR view (#12092) 2026-04-13 18:26:53 +02:00
diff_compare.go
diff_compare_test.go
diff_test.go fix: display code comments on removed lines-of-code to correct locations in PR view (#12092) 2026-04-13 18:26:53 +02:00
error.go
fetch.go
fetch_test.go fix: always include files set to be detectable for language stats (#11685) 2026-04-18 00:56:08 +02:00
git.go feat: replace repo based server-side hooks with centralised hooks (#10397) 2026-04-27 22:34:46 +02:00
git_test.go
grep.go
grep_test.go fix: always include files set to be detectable for language stats (#11685) 2026-04-18 00:56:08 +02:00
hook.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
hook_generate.go feat: replace repo based server-side hooks with centralised hooks (#10397) 2026-04-27 22:34:46 +02:00
last_commit_cache.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
log_name_status.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
notes.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
notes_test.go
object_format.go
object_id.go
object_id_test.go
object_signature.go
parse.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
parse_test.go
README.md
ref.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
ref_test.go
remote.go
repo.go fix: store pull mirror creds encrypted with keying (#11909) 2026-04-04 13:53:22 +02:00
repo_archive.go
repo_attribute.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
repo_attribute_test.go
repo_base.go
repo_base_test.go
repo_blame.go fix: relocate PR review comments using git blame --reverse, improving comment placement (#12015) 2026-04-11 21:45:39 +02:00
repo_blame_test.go fix: relocate PR review comments using git blame --reverse, improving comment placement (#12015) 2026-04-11 21:45:39 +02:00
repo_blob_test.go
repo_branch.go
repo_branch_test.go
repo_commit.go
repo_commit_test.go
repo_commitgraph.go
repo_compare.go
repo_compare_test.go
repo_gpg.go
repo_hook.go
repo_index.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
repo_language_stats.go fix: always include files set to be detectable for language stats (#11685) 2026-04-18 00:56:08 +02:00
repo_language_stats_test.go fix: always include files set to be detectable for language stats (#11685) 2026-04-18 00:56:08 +02:00
repo_object.go
repo_ref.go
repo_ref_test.go
repo_stats.go ci: detect and prevent empty case statements in Go code (#11593) 2026-03-10 02:50:28 +01:00
repo_stats_test.go
repo_tag.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
repo_tag_test.go
repo_test.go
repo_tree.go
signature.go
signature_test.go
submodule.go
submodule_test.go
tag.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
tag_test.go
tree.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
tree_blob.go
tree_entry.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
tree_entry_mode.go
tree_test.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
utils.go
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.