0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 14:24:27 +01:00
gitea/modules/git
zeripath 74bb292fe3
Migrate temp_repo.go to use git.NewCommand (#8918)
This PR migrates temp_repo.go to use git.NewCommand instead creating processes by itself - this fixes the problem underlying PR #8905.

There are other places that run git outside of the controlled locale defined in #8548 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 #8905
2019-11-11 11:46:28 +00:00
..
pipeline
tests/repos
blame_test.go
blame.go
blob_test.go
blob.go
cache.go
command_test.go
command.go Migrate temp_repo.go to use git.NewCommand (#8918) 2019-11-11 11:46:28 +00:00
commit_archive.go
commit_info_test.go
commit_info.go
commit_test.go
commit.go
error.go
git_test.go
git.go
hook.go
notes_test.go
notes.go
parse_test.go
parse.go
README.md
ref.go
repo_blame.go
repo_blob_test.go
repo_blob.go
repo_branch_test.go
repo_branch.go
repo_commit_test.go
repo_commit.go
repo_commitgraph.go
repo_compare_test.go
repo_compare.go
repo_gpg.go
repo_hook.go
repo_index.go
repo_object.go
repo_ref_test.go
repo_ref.go
repo_stats_test.go
repo_stats.go
repo_tag_test.go
repo_tag.go
repo_test.go
repo_tree.go
repo.go
sha1.go
signature.go
submodule_test.go
submodule.go
tag.go
tree_blob.go
tree_entry_test.go
tree_entry.go
tree.go
utils.go

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.