fix: address verified review findings (branches-checkout-status-1)

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 17:38:53 +02:00
1 parent 6e523d969d
commit 58f0fc4bf9
27 files changed
+281 -65

No files matched your search

+1 -1
View File
@@ -205,7 +205,7 @@ func TestRepositoryResolutionPrecedence(t *testing.T) {
}
deps.Getenv = envFunc(map[string]string{"TEA_HOST": "https://example.org", "GITEA_TOKEN": "secret"})
runner := &fakeGit{results: map[string]string{
"symbolic-ref --short HEAD": "main",
"symbolic-ref --quiet HEAD": "main",
"config --get branch.main.remote": "feature-remote",
"remote get-url feature-remote": "https://example.org/owner/current.git",
"remote get-url upstream": "https://example.org/owner/upstream.git",