Git with a cup of tea, painless self-hosted git service Mirror for internal git.with.parts use https://git.with.parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/modules/git
Lunny Xiao 25b842df26
Move get/set default branch from git package to gitrepo package to hide repopath (#29126)
9 months ago
..
foreachref Use refname:strip-2 instead of refname:short when syncing tags (#28797) 10 months ago
internal Refactor git command package to improve security and maintainability (#22678) 2 years ago
pipeline Discard unread data of `git cat-file` (#29297) 9 months ago
tests/repos Add support for sha256 repositories (#23894) 10 months ago
url Implement FSFE REUSE for golang files (#21840) 2 years ago
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
attribute.go Refactor git attributes (#29356) 9 months ago
batch_reader.go Discard unread data of `git cat-file` (#29297) 9 months ago
blame.go Add `io.Closer` guidelines (#29387) 9 months ago
blame_sha256_test.go Add support for sha256 repositories (#23894) 10 months ago
blame_test.go Adjust object format interface (#28469) 11 months ago
blob.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 1 year ago
blob_gogit.go Abstract hash function usage (#28138) 11 months ago
blob_nogogit.go Do not double close reader (#29354) 9 months ago
blob_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
command.go Add a check for when the command is canceled by the program on Window… (#29538) 9 months ago
command_race_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
command_test.go Improve git log for debugging (#24095) 2 years ago
commit.go Adjust object format interface (#28469) 11 months ago
commit_convert_gogit.go Abstract hash function usage (#28138) 11 months ago
commit_info.go Implement FSFE REUSE for golang files (#21840) 2 years ago
commit_info_gogit.go Abstract hash function usage (#28138) 11 months ago
commit_info_nogogit.go Discard unread data of `git cat-file` (#29297) 9 months ago
commit_info_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
commit_reader.go Add support for sha256 repositories (#23894) 10 months ago
commit_sha256_test.go Add support for sha256 repositories (#23894) 10 months ago
commit_test.go Improve ObjectFormat interface (#28496) 11 months ago
diff.go Implement FSFE REUSE for golang files (#21840) 2 years ago
diff_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
error.go Add merge style `fast-forward-only` (#28954) 9 months ago
git.go Refactor modules/git global variables (#29376) 9 months ago
git_test.go Refactor git version functions and check compatibility (#29155) 9 months ago
hook.go Implement FSFE REUSE for golang files (#21840) 2 years ago
last_commit_cache.go Use `crypto/sha256` (#29386) 9 months ago
last_commit_cache_gogit.go Abstract hash function usage (#28138) 11 months ago
last_commit_cache_nogogit.go Implement FSFE REUSE for golang files (#21840) 2 years ago
log_name_status.go bump to use go 1.22 (#29119) 9 months ago
notes.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notes_gogit.go Abstract hash function usage (#28138) 11 months ago
notes_nogogit.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notes_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
object_format.go Add support for sha256 repositories (#23894) 10 months ago
object_id.go Add support for sha256 repositories (#23894) 10 months ago
object_id_gogit.go Add support for sha256 repositories (#23894) 10 months ago
object_id_test.go Adjust object format interface (#28469) 11 months ago
parse_gogit.go Improve ObjectFormat interface (#28496) 11 months ago
parse_gogit_test.go Improve ObjectFormat interface (#28496) 11 months ago
parse_nogogit.go Improve ObjectFormat interface (#28496) 11 months ago
parse_nogogit_test.go Improve ObjectFormat interface (#28496) 11 months ago
ref.go Adjust object format interface (#28469) 11 months ago
ref_test.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
remote.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Refactor modules/git global variables (#29376) 9 months ago
repo_archive.go Fix archive creating LFS hooks and breaking pull requests (#28848) 10 months ago
repo_attribute.go Refactor git attributes (#29356) 9 months ago
repo_attribute_test.go Refactor git attributes (#29356) 9 months ago
repo_base.go Simplify how git repositories are opened (#28937) 10 months ago
repo_base_gogit.go Make wiki default branch name changable (#29603) 9 months ago
repo_base_nogogit.go Make wiki default branch name changable (#29603) 9 months ago
repo_blame.go Remove `git.FileBlame` (#25841) 1 year ago
repo_blob.go Improve ObjectFormat interface (#28496) 11 months ago
repo_blob_gogit.go Abstract hash function usage (#28138) 11 months ago
repo_blob_nogogit.go Abstract hash function usage (#28138) 11 months ago
repo_blob_test.go Improve ObjectFormat interface (#28496) 11 months ago
repo_branch.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 9 months ago
repo_branch_gogit.go Simplify how git repositories are opened (#28937) 10 months ago
repo_branch_nogogit.go Simplify how git repositories are opened (#28937) 10 months ago
repo_branch_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_commit.go Integration Test for Commit Search containing Square Brackets (#28751) 10 months ago
repo_commit_gogit.go Improve ObjectFormat interface (#28496) 11 months ago
repo_commit_nogogit.go Discard unread data of `git cat-file` (#29297) 9 months ago
repo_commit_test.go Use more specific test methods (#24265) 2 years ago
repo_commitgraph.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_commitgraph_gogit.go Update go dependencies and fix go-git (#28893) 10 months ago
repo_compare.go Adjust object format interface (#28469) 11 months ago
repo_compare_test.go Adjust object format interface (#28469) 11 months ago
repo_gpg.go Abstract hash function usage (#28138) 11 months ago
repo_hook.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_index.go Improve ObjectFormat interface (#28496) 11 months ago
repo_language_stats.go Refactor git attributes (#29356) 9 months ago
repo_language_stats_gogit.go Refactor git attributes (#29356) 9 months ago
repo_language_stats_nogogit.go Refactor git attributes (#29356) 9 months ago
repo_language_stats_test.go Merge different languages for language stats (#24900) 2 years ago
repo_object.go Improve ObjectFormat interface (#28496) 11 months ago
repo_ref.go Show branches and tags that contain a commit (#25180) 1 year ago
repo_ref_gogit.go Abstract hash function usage (#28138) 11 months ago
repo_ref_nogogit.go Improve ObjectFormat interface (#28496) 11 months ago
repo_ref_test.go Fix commit retrieval by tag (#21804) 2 years ago
repo_stats.go Refactor git command package to improve security and maintainability (#22678) 2 years ago
repo_stats_test.go Fix commit retrieval by tag (#21804) 2 years ago
repo_tag.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
repo_tag_gogit.go Improve ObjectFormat interface (#28496) 11 months ago
repo_tag_nogogit.go Discard unread data of `git cat-file` (#29297) 9 months ago
repo_tag_test.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
repo_test.go Faster git.GetDivergingCommits (#24482) 2 years ago
repo_tree.go Improve ObjectFormat interface (#28496) 11 months ago
repo_tree_gogit.go Improve ObjectFormat interface (#28496) 11 months ago
repo_tree_nogogit.go Discard unread data of `git cat-file` (#29297) 9 months ago
signature.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
signature_gogit.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
signature_nogogit.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
signature_test.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
submodule.go Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
submodule_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tag.go Refactor parseSignatureFromCommitLine (#29054) 9 months ago
tag_test.go Adjust object format interface (#28469) 11 months ago
tree.go Abstract hash function usage (#28138) 11 months ago
tree_blob.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tree_blob_gogit.go Abstract hash function usage (#28138) 11 months ago
tree_blob_nogogit.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tree_entry.go Remember to attach the parent tree when converting TreeEntry() -> Tree() (#22902) 2 years ago
tree_entry_gogit.go Abstract hash function usage (#28138) 11 months ago
tree_entry_mode.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tree_entry_nogogit.go Abstract hash function usage (#28138) 11 months ago
tree_entry_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tree_gogit.go Abstract hash function usage (#28138) 11 months ago
tree_nogogit.go Discard unread data of `git cat-file` (#29297) 9 months ago
tree_test.go Discard unread data of `git cat-file` (#29297) 9 months ago
utils.go Replace `interface{}` with `any` (#25686) 1 year ago

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.