Commit graph

1 commit

Author SHA1 Message Date
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