aboutsummaryrefslogtreecommitdiff
path: root/internal/commitquery/reduce.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-07 16:42:48 +0800
committerGravatar Runxi Yu2026-03-07 16:43:59 +0800
commit236a666b716cac51872edf93f14ffe6b553f259b (patch)
tree8034a2493530e617a773cbcf6a6a9b046d0e3591 /internal/commitquery/reduce.go
parentref/refname: Add refname validation (diff)
signatureNo signature
internal/commitquery: paintDown only paints, don't collect
Diffstat (limited to 'internal/commitquery/reduce.go')
-rw-r--r--internal/commitquery/reduce.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commitquery/reduce.go b/internal/commitquery/reduce.go
index 497ff443..917f2fa2 100644
--- a/internal/commitquery/reduce.go
+++ b/internal/commitquery/reduce.go
@@ -44,7 +44,7 @@ func removeRedundantNoGen(ctx *Context, candidates []NodeIndex) ([]NodeIndex, er
}
}
- _, err := paintDownToCommon(ctx, candidate, work, minGeneration)
+ err := paintDownToCommon(ctx, candidate, work, minGeneration)
if err != nil {
return nil, err
}