shithub: furgit

Download patch

ref: 627258d8a515397d65d0d7c086d12783c684fcd3
parent: c1f17baa57bad0f61e639fc39c8cd5e4872142f6
author: Runxi Yu <me@runxiyu.org>
date: Fri Jan 30 12:41:47 EST 2026

repo: Fail test instead of skipping on inability to open current repo if present

--- a/repo_current_test.go
+++ b/repo_current_test.go
@@ -14,7 +14,7 @@
 
 	repo, err := OpenRepository(gitDir)
 	if err != nil {
-		t.Skipf("failed to open current .git directory: %v", err)
+		t.Fatal("failed to open current .git directory: %v", err)
 	}
 	defer func() { _ = repo.Close() }()
 
--