gitea.tea/modules/git
Lunny Xiao 67f1b1a8f2 Fix locale-dependent git error handling (#1089)
Force the C locale for git subprocesses so git output used for error classification remains stable and parseable regardless of the user shell language.

Add a regression test that simulates a localized git "not a repository" error and verifies it is classified as ErrRepositoryNotExists.

Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com>
2026-08-21 23:41:58 -07:00
..
auth.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
backend.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
backend_test.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
branch.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
cli_backend.go Fix locale-dependent git error handling (#1089) 2026-08-21 23:41:58 -07:00
cli_backend_test.go Fix locale-dependent git error handling (#1089) 2026-08-21 23:41:58 -07:00
network.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
remote.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
repo.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
repo_cli_test.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
types.go Use git command instead of go git (#1005) 2026-05-23 20:24:47 +00:00
url.go spdx (#581) 2023-09-08 01:40:02 +00:00
url_test.go spdx (#581) 2023-09-08 01:40:02 +00:00