aboutsummaryrefslogtreecommitdiff
path: root/internal/commitquery/ancestor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commitquery/ancestor.go')
-rw-r--r--internal/commitquery/ancestor.go2
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
}