def descendant.go
import ezx@1.11.0.0/src/git/exec.bend as Execimport Base
143# whether `tip` descends from `pin`, the same commit included
144def descendant.go(same: Bool, work: String, url: String, pin: String, tip: String) -> IO(Bool):
145 match same:
146 case True{}:
147 IO.pure(Bool, True{})
148 case False{}:
149 descendant.clone(work, url, pin, tip)