gitea/modules/git
zeripath 74bb292fe3
Migrate temp_repo.go to use git.NewCommand ()
This PR migrates temp_repo.go to use git.NewCommand instead creating processes by itself - this fixes the problem underlying PR .

There are other places that run git outside of the controlled locale defined in  but temp_repo.go is the only cause of failure of local testing in cases where English is not the default - implying that error messages from those other commands are not interpreted.

Replaces 
..
pipeline Add basic repository lfs management ()
tests/repos Fix reading git notes from nested trees ()
README.md
blame.go Monitor all git commands; move blame to git package and replace git as a variable ()
blame_test.go Monitor all git commands; move blame to git package and replace git as a variable ()
blob.go Fixes - API File Contents bug ()
blob_test.go Improve listing performance by using go-git ()
cache.go
command.go Migrate temp_repo.go to use git.NewCommand ()
command_test.go
commit.go Fix count for commit graph last page ()
commit_archive.go
commit_info.go Ensure default gpg settings not nil and found commits have reference to repo ()
commit_info_test.go Fix empty commits now showing in repo overview ()
commit_test.go
error.go Improve listing performance by using go-git ()
git.go On windows set core.longpaths true ()
git_test.go Only check and config git on web subcommand but not others ()
hook.go fix 500 when edit hook ()
notes.go Fix reading git notes from nested trees ()
notes_test.go Fix reading git notes from nested trees ()
parse.go Removed unnecessary conversions ()
parse_test.go Improve listing performance by using go-git ()
ref.go
repo.go Stop using git count-objects and use raw directory size for repository ()
repo_blame.go Removed unnecessary conversions ()
repo_blob.go Removed unnecessary conversions ()
repo_blob_test.go Improve listing performance by using go-git ()
repo_branch.go IsBranchExist: return false if provided name is empty ()
repo_branch_test.go
repo_commit.go Search Commits via Commit Hash ()
repo_commit_test.go Be more strict with git arguments ()
repo_commitgraph.go Use gitea forked macaron ()
repo_compare.go Do not fetch all refs ()
repo_compare_test.go Compare branches, commits and tags with each other ()
repo_gpg.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()
repo_hook.go
repo_index.go Be more strict with git arguments ()
repo_object.go Fixes - API File Contents bug ()
repo_ref.go Removed unnecessary conversions ()
repo_ref_test.go Show git-notes ()
repo_stats.go Git statistics in Activity tab ()
repo_stats_test.go Added missing error checks in tests ()
repo_tag.go Strict name matching for Repository.GetTagID() ()
repo_tag_test.go Strict name matching for Repository.GetTagID() ()
repo_test.go Monitor all git commands; move blame to git package and replace git as a variable ()
repo_tree.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()
sha1.go Improve listing performance by using go-git ()
signature.go Improve listing performance by using go-git ()
submodule.go Refactor submodule URL parsing ()
submodule_test.go Refactor submodule URL parsing ()
tag.go Fixes - Adds the /git/tags API endpoint ()
tree.go Removed unnecessary conversions ()
tree_blob.go Removed unnecessary conversions ()
tree_entry.go Include "executable" files in the index, as they are not necessarily binary ()
tree_entry_test.go Improve listing performance by using go-git ()
utils.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key ()

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.