From 265bf0444bf74f4e67dc62ea9835a5b84253f0c8 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Wed, 14 Oct 2026 11:52:42 +0200 Subject: [PATCH 1/3] audit_rebase_invocation: Fix audit_f1_chain_rebase_skips_already_applied_commits Parsing git's stdout needs to be tested on a fixed locale, non-english locales break this test. --- tests/audit_rebase_invocation.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/audit_rebase_invocation.rs b/tests/audit_rebase_invocation.rs index bb88d78..7db3a0f 100644 --- a/tests/audit_rebase_invocation.rs +++ b/tests/audit_rebase_invocation.rs @@ -159,6 +159,7 @@ fn build_f1_scenario(repo: &Repository, path_to_repo: &Path) { /// which is git's own form. Half B remains the reference both halves are compared against. #[test] fn audit_f1_chain_rebase_skips_already_applied_commits() { + std::env::set_var("LANG", "C"); // --------------------------------------------------------------------------------- // Half A — git-chain's construction: expected (defectively) to conflict. // --------------------------------------------------------------------------------- From 8b45ace93075e811527fbfdd542c84b54d7f5700 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Wed, 14 Oct 2026 11:53:54 +0200 Subject: [PATCH 2/3] prune: Fix rebase_suggests_prune_when_branch_is_ancestor_of_root Parsing git's stdout needs to be tested on a fixed locale, non-english locales break this test. --- tests/prune.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/prune.rs b/tests/prune.rs index 037ed5a..1111b2a 100644 --- a/tests/prune.rs +++ b/tests/prune.rs @@ -211,6 +211,7 @@ fn prune_nonexistent_chain() { #[test] fn rebase_suggests_prune_when_branch_is_ancestor_of_root() { + std::env::set_var("LANG", "C"); let repo_name = "rebase_suggests_prune_when_branch_is_ancestor_of_root"; let repo = setup_git_repo(repo_name); let path_to_repo = generate_path_to_repo(repo_name); From 4e07f1ccf2fc6d21a72492a769b519a1fdc194d4 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Wed, 14 Oct 2026 11:54:03 +0200 Subject: [PATCH 3/3] prune: Fix rebase_does_not_suggest_prune_when_no_ancestor Parsing git's stdout needs to be tested on a fixed locale, non-english locales break this test. --- tests/prune.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/prune.rs b/tests/prune.rs index 1111b2a..33e443d 100644 --- a/tests/prune.rs +++ b/tests/prune.rs @@ -424,6 +424,7 @@ fn rebase_suggests_prune_when_branch_is_ancestor_of_root() { #[test] fn rebase_does_not_suggest_prune_when_no_ancestor() { + std::env::set_var("LANG", "C"); let repo_name = "rebase_does_not_suggest_prune_when_no_ancestor"; let repo = setup_git_repo(repo_name); let path_to_repo = generate_path_to_repo(repo_name);