gitea/modules/git
6543 54e9ee37a7
format with gofumpt ()
* gofumpt -w -l .

* gofumpt -w -l -extra .

* Add linter

* manual fix

* change make fmt
..
pipeline Propagate context and ensure git commands run in request context ()
tests/repos Migrated Repository will show modifications when possible ()
README.md move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
batch_reader.go Prevent hang in git cat-file if repository is not a valid repository and other fixes ()
blame.go Propagate context and ensure git commands run in request context ()
blame_test.go refactor: move from io/ioutil to io and os package ()
blob.go Read expected buffer size ()
blob_gogit.go Add bundle download for repository ()
blob_nogogit.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
blob_test.go refactor: move from io/ioutil to io and os package ()
command.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
command_test.go format with gofumpt ()
commit.go format with gofumpt ()
commit_convert_gogit.go Add bundle download for repository ()
commit_info.go Use native git variants by default with go-git variants as build tag ()
commit_info_gogit.go format with gofumpt ()
commit_info_nogogit.go format with gofumpt ()
commit_info_test.go format with gofumpt ()
commit_reader.go Tagger can be empty, as can Commit and Author - tolerate this ()
commit_test.go format with gofumpt ()
diff.go Propagate context and ensure git commands run in request context ()
diff_test.go Prevent off-by-one error on comments on newly appended lines ()
error.go Fix 500 Error with branch and tag sharing the same name ()
git.go format with gofumpt ()
git_test.go Use gitea logging module for git module ()
hook.go format with gofumpt ()
last_commit_cache.go Defer Last Commit Info ()
last_commit_cache_gogit.go format with gofumpt ()
last_commit_cache_nogogit.go Defer Last Commit Info ()
lfs.go format with gofumpt ()
log_name_status.go Check for context exceeded in WalkGitLog ()
notes.go Use native git variants by default with go-git variants as build tag ()
notes_gogit.go Defer Last Commit Info ()
notes_nogogit.go Defer Last Commit Info ()
notes_test.go Change the implementation of the go-git version of GetNote to mirror the non go-git version when passed a non-existent commit ()
parse_gogit.go Add bundle download for repository ()
parse_gogit_test.go Add bundle download for repository ()
parse_nogogit.go Add bundle download for repository ()
parse_nogogit_test.go format with gofumpt ()
ref.go Refactor various strings ()
remote.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo.go format with gofumpt ()
repo_archive.go Add bundle download for repository ()
repo_attribute.go format with gofumpt ()
repo_attribute_test.go format with gofumpt ()
repo_base.go Propagate context and ensure git commands run in request context ()
repo_base_gogit.go Propagate context and ensure git commands run in request context ()
repo_base_nogogit.go Propagate context and ensure git commands run in request context ()
repo_blame.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_blob.go Use native git variants by default with go-git variants as build tag ()
repo_blob_gogit.go Add bundle download for repository ()
repo_blob_nogogit.go Add bundle download for repository ()
repo_blob_test.go refactor: move from io/ioutil to io and os package ()
repo_branch.go Propagate context and ensure git commands run in request context ()
repo_branch_gogit.go Propagate context and ensure git commands run in request context ()
repo_branch_nogogit.go Improve checkBranchName ()
repo_branch_test.go Improve checkBranchName ()
repo_commit.go format with gofumpt ()
repo_commit_gogit.go Do not read or write git reference files directly ()
repo_commit_nogogit.go Fix NPE on try to get tag reference via API ()
repo_commit_test.go format with gofumpt ()
repo_commitgraph_gogit.go Add bundle download for repository ()
repo_compare.go Propagate context and ensure git commands run in request context ()
repo_compare_test.go Do not read or write git reference files directly ()
repo_gpg.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_hook.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
repo_index.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_language_stats.go format with gofumpt ()
repo_language_stats_gogit.go Add .gitattribute assisted language detection to blame, diff and render ()
repo_language_stats_nogogit.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_language_stats_test.go Ignore Sync errors on pipes when doing `CheckAttributeReader.CheckPath`, fix the hang of `git cat-file` ()
repo_object.go format with gofumpt ()
repo_ref.go Use native git variants by default with go-git variants as build tag ()
repo_ref_gogit.go Add bundle download for repository ()
repo_ref_nogogit.go Refactor various strings ()
repo_ref_test.go Add Close() method to gogitRepository ()
repo_stats.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_stats_test.go Add top author stats to activity page ()
repo_tag.go format with gofumpt ()
repo_tag_gogit.go Add skip and limit to git.GetTags ()
repo_tag_nogogit.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_tag_test.go Fix NPE on try to get tag reference via API ()
repo_test.go Propagate context and ensure git commands run in request context ()
repo_tree.go Simplify parameter types ()
repo_tree_gogit.go Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
repo_tree_nogogit.go Fix NPE on try to get tag reference via API ()
sha1.go Use native git variants by default with go-git variants as build tag ()
sha1_gogit.go Add bundle download for repository ()
sha1_nogogit.go Add bundle download for repository ()
signature.go Use native git variants by default with go-git variants as build tag ()
signature_gogit.go Add bundle download for repository ()
signature_nogogit.go Add bundle download for repository ()
submodule.go Fix some lints ()
submodule_test.go format with gofumpt ()
tag.go format with gofumpt ()
tag_test.go Fix NPE on try to get tag reference via API ()
tree.go Propagate context and ensure git commands run in request context ()
tree_blob.go Use native git variants by default with go-git variants as build tag ()
tree_blob_gogit.go format with gofumpt ()
tree_blob_nogogit.go Add bundle download for repository ()
tree_entry.go On open repository open common cat file batch and batch-check ()
tree_entry_gogit.go Add bundle download for repository ()
tree_entry_mode.go format with gofumpt ()
tree_entry_nogogit.go Propagate context and ensure git commands run in request context ()
tree_entry_test.go Add bundle download for repository ()
tree_gogit.go Add bundle download for repository ()
tree_nogogit.go Propagate context and ensure git commands run in request context ()
utils.go Simplify parameter types ()
utils_test.go Fix ref links in issue overviews for tags ()

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.