You cannot 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
wxiaoguang d0183dfa49
Refactor git version functions and check compatibility (#29155)
Introduce a new function checkGitVersionCompatibility, when the git
version can't be used by Gitea, tell the end users to downgrade or
upgrade. The refactored functions are related to make the code easier to
test.

And simplify the comments for "safe.directory"

---------

Co-authored-by: delvh <dev.lh@web.de>
12 months ago
..
foreachref Use refname:strip-2 instead of refname:short when syncing tags (#28797) 1 year ago
internal Refactor git command package to improve security and maintainability (#22678) 2 years ago
pipeline Improve ObjectFormat interface (#28496) 1 year ago
tests/repos Add support for sha256 repositories (#23894) 1 year ago
url
README.md
batch_reader.go Abstract hash function usage (#28138) 1 year ago
blame.go Abstract hash function usage (#28138) 1 year ago
blame_sha256_test.go Add support for sha256 repositories (#23894) 1 year ago
blame_test.go Adjust object format interface (#28469) 1 year ago
blob.go Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2 years ago
blob_gogit.go Abstract hash function usage (#28138) 1 year ago
blob_nogogit.go Abstract hash function usage (#28138) 1 year ago
blob_test.go
command.go Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
command_race_test.go
command_test.go Improve git log for debugging (#24095) 2 years ago
commit.go Adjust object format interface (#28469) 1 year ago
commit_convert_gogit.go Abstract hash function usage (#28138) 1 year ago
commit_info.go
commit_info_gogit.go Abstract hash function usage (#28138) 1 year ago
commit_info_nogogit.go Improve ObjectFormat interface (#28496) 1 year ago
commit_info_test.go
commit_reader.go Add support for sha256 repositories (#23894) 1 year ago
commit_sha256_test.go Add support for sha256 repositories (#23894) 1 year ago
commit_test.go Improve ObjectFormat interface (#28496) 1 year ago
diff.go
diff_test.go
error.go Add merge style `fast-forward-only` (#28954) 12 months ago
git.go Refactor git version functions and check compatibility (#29155) 12 months ago
git_test.go Refactor git version functions and check compatibility (#29155) 12 months ago
hook.go
last_commit_cache.go Always enable caches (#28527) 1 year ago
last_commit_cache_gogit.go Abstract hash function usage (#28138) 1 year ago
last_commit_cache_nogogit.go
log_name_status.go Abstract hash function usage (#28138) 1 year ago
notes.go
notes_gogit.go Abstract hash function usage (#28138) 1 year ago
notes_nogogit.go
notes_test.go
object_format.go Add support for sha256 repositories (#23894) 1 year ago
object_id.go Add support for sha256 repositories (#23894) 1 year ago
object_id_gogit.go Add support for sha256 repositories (#23894) 1 year ago
object_id_test.go Adjust object format interface (#28469) 1 year ago
parse_gogit.go Improve ObjectFormat interface (#28496) 1 year ago
parse_gogit_test.go Improve ObjectFormat interface (#28496) 1 year ago
parse_nogogit.go Improve ObjectFormat interface (#28496) 1 year ago
parse_nogogit_test.go Improve ObjectFormat interface (#28496) 1 year ago
ref.go Adjust object format interface (#28469) 1 year 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
repo.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
repo_archive.go Fix archive creating LFS hooks and breaking pull requests (#28848) 1 year ago
repo_attribute.go Refactor legacy strange git operations (#22756) 2 years ago
repo_attribute_test.go Replace assert.Fail with assert.FailNow (#27578) 1 year ago
repo_base.go Simplify how git repositories are opened (#28937) 1 year ago
repo_base_gogit.go Update go dependencies and fix go-git (#28893) 1 year ago
repo_base_nogogit.go Add support for sha256 repositories (#23894) 1 year ago
repo_blame.go Remove `git.FileBlame` (#25841) 2 years ago
repo_blob.go Improve ObjectFormat interface (#28496) 1 year ago
repo_blob_gogit.go Abstract hash function usage (#28138) 1 year ago
repo_blob_nogogit.go Abstract hash function usage (#28138) 1 year ago
repo_blob_test.go Improve ObjectFormat interface (#28496) 1 year ago
repo_branch.go Simplify how git repositories are opened (#28937) 1 year ago
repo_branch_gogit.go Simplify how git repositories are opened (#28937) 1 year ago
repo_branch_nogogit.go Simplify how git repositories are opened (#28937) 1 year ago
repo_branch_test.go
repo_commit.go Integration Test for Commit Search containing Square Brackets (#28751) 1 year ago
repo_commit_gogit.go Improve ObjectFormat interface (#28496) 1 year ago
repo_commit_nogogit.go Improve ObjectFormat interface (#28496) 1 year ago
repo_commit_test.go Use more specific test methods (#24265) 2 years ago
repo_commitgraph.go
repo_commitgraph_gogit.go Update go dependencies and fix go-git (#28893) 1 year ago
repo_compare.go Adjust object format interface (#28469) 1 year ago
repo_compare_test.go Adjust object format interface (#28469) 1 year ago
repo_gpg.go Abstract hash function usage (#28138) 1 year ago
repo_hook.go
repo_index.go Improve ObjectFormat interface (#28496) 1 year ago
repo_language_stats.go Merge different languages for language stats (#24900) 2 years ago
repo_language_stats_gogit.go Merge different languages for language stats (#24900) 2 years ago
repo_language_stats_nogogit.go Improve ObjectFormat interface (#28496) 1 year ago
repo_language_stats_test.go Merge different languages for language stats (#24900) 2 years ago
repo_object.go Improve ObjectFormat interface (#28496) 1 year ago
repo_ref.go Show branches and tags that contain a commit (#25180) 2 years ago
repo_ref_gogit.go Abstract hash function usage (#28138) 1 year ago
repo_ref_nogogit.go Improve ObjectFormat interface (#28496) 1 year 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) 1 year ago
repo_tag_gogit.go Improve ObjectFormat interface (#28496) 1 year ago
repo_tag_nogogit.go Improve ObjectFormat interface (#28496) 1 year ago
repo_tag_test.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
repo_test.go Faster git.GetDivergingCommits (#24482) 2 years ago
repo_tree.go Improve ObjectFormat interface (#28496) 1 year ago
repo_tree_gogit.go Improve ObjectFormat interface (#28496) 1 year ago
repo_tree_nogogit.go Improve ObjectFormat interface (#28496) 1 year ago
signature.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
signature_gogit.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
signature_nogogit.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
signature_test.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
submodule.go Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
submodule_test.go
tag.go Refactor parseSignatureFromCommitLine (#29054) 1 year ago
tag_test.go Adjust object format interface (#28469) 1 year ago
tree.go Abstract hash function usage (#28138) 1 year ago
tree_blob.go
tree_blob_gogit.go Abstract hash function usage (#28138) 1 year ago
tree_blob_nogogit.go
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) 1 year ago
tree_entry_mode.go
tree_entry_nogogit.go Abstract hash function usage (#28138) 1 year ago
tree_entry_test.go
tree_gogit.go Abstract hash function usage (#28138) 1 year ago
tree_nogogit.go Abstract hash function usage (#28138) 1 year ago
utils.go Replace `interface{}` with `any` (#25686) 2 years 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.