aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo_pack_objects_is_thin.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-05 20:55:17 +0800
committerGravatar Runxi Yu2026-03-05 20:55:17 +0800
commit915fca6a9c2923a3bcf7a5a257e5832fab8cd432 (patch)
tree1726c92257263033da5cadb4a570c97b68332ee7 /internal/testgit/repo_pack_objects_is_thin.go
parentlint: Exclude compress/{flate,internal} (diff)
signatureNo signature
*: Fix lint wsl_v5
Diffstat (limited to 'internal/testgit/repo_pack_objects_is_thin.go')
-rw-r--r--internal/testgit/repo_pack_objects_is_thin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/testgit/repo_pack_objects_is_thin.go b/internal/testgit/repo_pack_objects_is_thin.go
index afc704d1..c37b6d27 100644
--- a/internal/testgit/repo_pack_objects_is_thin.go
+++ b/internal/testgit/repo_pack_objects_is_thin.go
@@ -48,6 +48,7 @@ func (testRepo *TestRepo) PackObjectsIsThin(tb testing.TB, revs []string) bool {
if err != nil {
_ = indexCmd.Process.Kill()
_ = indexCmd.Wait()
+
tb.Fatalf("git %v start failed: %v", packArgs, err)
}
@@ -65,6 +66,7 @@ func (testRepo *TestRepo) PackObjectsIsThin(tb testing.TB, revs []string) bool {
if strings.Contains(stderr, "unresolved") && strings.Contains(stderr, "delta") {
return true
}
+
if strings.Contains(stderr, "missing") && strings.Contains(stderr, "base") {
return true
}