gitea/modules/git
Lunny Xiao 26602fd207
Remove undocumented support of signing key in the repository git configuration file (#36143)
Per-repository signing keys have never been officially supported, as
they would require users to modify the repository’s config file.

At this point, it is clear that only global signing keys (GPG or SSH)
should be allowed. If we want to introduce per-repository signing keys
in the future, it will require a complete design proposal.

The endpoint will not be removed for repository special signing key, but
it will reference the global signing key.

---------

Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2025-12-14 17:34:45 +07:00
..
attribute update golangci-lint to v2.7.0 (#36079) 2025-12-04 09:06:44 +07:00
foreachref update golangci-lint to v2.7.0 (#36079) 2025-12-04 09:06:44 +07:00
gitcmd Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
internal Refactor git command package to improve security and maintainability (#22678) 2023-02-04 10:30:43 +07:00
languagestats Fix context usages (#35348) 2025-08-27 11:00:01 +07:00
pipeline Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
tests/repos Refactor Git Attribute & performance optimization (#34154) 2025-04-11 21:41:29 +07:00
url Upgrade to go 1.25.3 (#35656) 2025-10-15 10:09:32 +07:00
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +07:00
batch.go Decouple Batch from git.Repository to simplify usage without requiring the creation of a Repository struct. (#34001) 2025-03-27 17:35:48 +07:00
batch_reader.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
blame.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
blame_sha256_test.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +07:00
blame_test.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +07:00
blob.go Add support for 3D/CAD file formats preview (#34794) 2025-06-30 16:12:25 +07:00
blob_gogit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +07:00
blob_nogogit.go Refactor the usage of batch catfile (#31754) 2024-08-20 17:04:57 +07:00
blob_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
cmdverb.go Fix a bug when uploading file via lfs ssh command (#34408) 2025-05-09 16:17:08 +07:00
commit.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +07:00
commit_convert_gogit.go Refactor commit signature parser (#30228) 2024-04-01 20:23:17 +07:00
commit_info.go Fix repo file list partial reloading for submodules (#35183) 2025-07-31 09:34:51 +07:00
commit_info_gogit.go Fix repo file list partial reloading for submodules (#35183) 2025-07-31 09:34:51 +07:00
commit_info_nogogit.go Fix repo file list partial reloading for submodules (#35183) 2025-07-31 09:34:51 +07:00
commit_info_test.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
commit_reader.go Refactor commit reader (#34542) 2025-05-27 16:49:05 +07:00
commit_sha256_test.go Move commit related functions to gitrepo package (#35600) 2025-12-05 00:20:23 +07:00
commit_submodule.go Fix submodule nil check (#35096) 2025-07-16 12:07:38 +07:00
commit_submodule_file.go Fix various bugs (#35177) 2025-07-30 07:08:59 +07:00
commit_submodule_file_test.go Fix various bugs (#35177) 2025-07-30 07:08:59 +07:00
commit_test.go Move commit related functions to gitrepo package (#35600) 2025-12-05 00:20:23 +07:00
config.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
config_submodule.go Fix submodule parsing (#32571) 2024-11-20 19:26:12 +07:00
config_submodule_test.go Fix submodule parsing (#32571) 2024-11-20 19:26:12 +07:00
config_test.go Move git command to git/gitcmd (#35483) 2025-09-15 23:33:12 +07:00
diff.go Move some functions to gitrepo package to reduce RepoPath reference directly (#36126) 2025-12-12 01:15:40 +07:00
diff_test.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +07:00
error.go feat: adds option to force update new branch in contents routes (#35592) 2025-10-06 21:23:14 +07:00
git.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
git_test.go Fix context usages (#35348) 2025-08-27 11:00:01 +07:00
gpg.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +07:00
grep.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
grep_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
hook.go Refactor legacy code (#35708) 2025-10-20 11:43:08 +07:00
key.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +07:00
last_commit_cache.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +07:00
last_commit_cache_gogit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +07:00
last_commit_cache_nogogit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
log_name_status.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
notes.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
notes_gogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
notes_nogogit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
notes_test.go Update dependencies (#35733) 2025-10-23 08:35:48 +07:00
object_format.go Make sure git version&feature are always prepared (#30877) 2024-05-06 18:34:16 +07:00
object_id.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
object_id_gogit.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +07:00
object_id_test.go Fix incorrect object id hash function (#30708) 2024-04-26 09:49:48 +07:00
parse.go update golangci-lint to v2.7.0 (#36079) 2025-12-04 09:06:44 +07:00
parse_treeentry.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
parse_treeentry_test.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
ref.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +07:00
ref_test.go Refactor RefName (#33234) 2025-01-13 14:01:53 +07:00
remote.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +07:00
repo_archive.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_base_gogit.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +07:00
repo_base_nogogit.go Remove undocumented support of signing key in the repository git configuration file (#36143) 2025-12-14 17:34:45 +07:00
repo_blob.go Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +07:00
repo_blob_gogit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +07:00
repo_blob_nogogit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +07:00
repo_blob_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
repo_branch.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_branch_gogit.go Fix typo in documentation of GetBranchNames() (#33330) 2025-01-19 18:41:15 +07:00
repo_branch_nogogit.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_branch_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
repo_commit.go Move commit related functions to gitrepo package (#35600) 2025-12-05 00:20:23 +07:00
repo_commit_gogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
repo_commit_nogogit.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_commit_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
repo_commitgraph.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_commitgraph_gogit.go Use filepath.Join instead of path.Join for file system file operations (#33978) 2025-03-24 14:50:28 +07:00
repo_compare.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_compare_test.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_hook.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
repo_index.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_object.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_ref.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_ref_gogit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +07:00
repo_ref_nogogit.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_ref_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
repo_stats.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_stats_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
repo_tag.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_tag_gogit.go Remove the duplicated function GetTags (#35375) 2025-08-29 01:11:42 +07:00
repo_tag_nogogit.go Remove the duplicated function GetTags (#35375) 2025-08-29 01:11:42 +07:00
repo_tag_test.go Remove the duplicated function GetTags (#35375) 2025-08-29 01:11:42 +07:00
repo_test.go Move some functions to gitrepo package to reduce RepoPath reference directly (#36126) 2025-12-12 01:15:40 +07:00
repo_tree.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
repo_tree_gogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
repo_tree_nogogit.go Avoid creating unnecessary temporary cat file sub process (#33942) 2025-04-04 16:19:19 +07:00
signature.go Refactor parseSignatureFromCommitLine (#29054) 2024-02-09 11:02:53 +07:00
signature_gogit.go Refactor parseSignatureFromCommitLine (#29054) 2024-02-09 11:02:53 +07:00
signature_nogogit.go Refactor parseSignatureFromCommitLine (#29054) 2024-02-09 11:02:53 +07:00
signature_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 +07:00
submodule.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
submodule_test.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
tag.go Avoid creating unnecessary temporary cat file sub process (#33942) 2025-04-04 16:19:19 +07:00
tag_test.go Refactor commit signature parser (#30228) 2024-04-01 20:23:17 +07:00
tree.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_blob.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00
tree_blob_gogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_blob_nogogit.go Follow file symlinks in the UI to their target (#28835) 2025-07-01 06:55:36 +07:00
tree_entry.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_entry_common_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
tree_entry_gogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_entry_gogit_test.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_entry_mode.go Follow file symlinks in the UI to their target (#28835) 2025-07-01 06:55:36 +07:00
tree_entry_nogogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_entry_test.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_gogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_nogogit.go Refactor ls-tree and git path related problems (#35858) 2025-11-05 17:48:38 +07:00
tree_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +07:00
utils.go fix attachment file size limit in server backend (#35519) 2025-10-21 15:07:11 +07:00
utils_test.go Fix various bugs (#35177) 2025-07-30 07:08:59 +07:00

README.md

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.