forgejo/modules/repofiles
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
..
action.go
action_test.go
blob.go
blob_test.go
commit.go
commit_status.go
content.go
content_test.go
delete.go
diff.go
diff_test.go
file.go
file_test.go
repofiles.go
repofiles_test.go
temp_repo.go
tree.go
tree_test.go
update.go
upload.go
verification.go