0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 19:24:25 +01:00
gitea/services
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
..
comments Move webhook codes from service to webhook notification (#8712) 2019-10-30 12:02:46 +02:00
externalaccount
gitdiff
issue Move actions to notification (#8785) 2019-11-03 20:59:09 +00:00
mailer Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
mirror Move push commits events to notification (#8783) 2019-11-03 14:59:26 +08:00
pull Adjust error reporting from merge failures and use LC_ALL=C for git (#8548) 2019-11-10 08:42:51 +00:00
release Move release webhook to notification (#8817) 2019-11-06 16:25:50 +08:00
repository Move some repositories' operations to a standalone service package (#8557) 2019-10-26 14:54:11 +08:00