This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/api/v1/repo
zeripath 8eeb2877d5
Adjust error reporting from merge failures and use LC_ALL=C for git (#8548)
There are two major components to this PR:

* This PR handles merge and rebase failures from merging a little more nicely with Flash errors rather a 500.
* All git commands are run in the LC_ALL="C" environment to ensure that error messages are in English. This DefaultLocale is defined in a way that if necessary (due to platform weirdness) it can be overridden at build time using LDFLAGS="-X "code.gitea.io/gitea/modules/git.DefaultLocale=C"" with C changed for the locale as necessary.
2019-11-10 08:42:51 +00:00
..
blob.go
branch.go
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go
issue_comment.go
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_subscription.go
issue_tracked_time.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
key.go
label.go
main_test.go
milestone.go
pull.go Adjust error reporting from merge failures and use LC_ALL=C for git (#8548) 2019-11-10 08:42:51 +00:00
release.go
release_attachment.go
repo.go
repo_test.go
star.go
status.go
subscriber.go
tag.go
topic.go
tree.go