def descendant.no
import ezx@1.11.0.0/src/git/exec.bend as Execimport Base
111# merge-base answers 0 for a descendant, 1 for anything else, and some other
112# status when the question itself could not be asked
113def descendant.no(no: Bool, +text: String) -> IO(Bool):
114 match no:
115 case True{}:
116 IO.pure(Bool, False{})
117 case False{}:
118 IO.die(Bool, 1, "ez: git merge-base: " ++ text)