diff options
| author | 2026-03-07 16:42:48 +0800 | |
|---|---|---|
| committer | 2026-03-07 16:43:59 +0800 | |
| commit | 236a666b716cac51872edf93f14ffe6b553f259b (patch) | |
| tree | 8034a2493530e617a773cbcf6a6a9b046d0e3591 /internal/commitquery/ancestor.go | |
| parent | ref/refname: Add refname validation (diff) | |
| signature | No signature | |
internal/commitquery: paintDown only paints, don't collect
Diffstat (limited to 'internal/commitquery/ancestor.go')
| -rw-r--r-- | internal/commitquery/ancestor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/commitquery/ancestor.go b/internal/commitquery/ancestor.go index 78149c6a..d050ce08 100644 --- a/internal/commitquery/ancestor.go +++ b/internal/commitquery/ancestor.go @@ -21,7 +21,7 @@ func IsAncestor(ctx *Context, ancestor, descendant NodeIndex) (bool, error) { minGeneration = ancestorGeneration } - _, err := paintDownToCommon(ctx, ancestor, []NodeIndex{descendant}, minGeneration) + err := paintDownToCommon(ctx, ancestor, []NodeIndex{descendant}, minGeneration) if err != nil { return false, err } |
