def tip.named
import ezx@1.11.0.0/src/add/plan.bend as Planimport Base
import ezx@1.11.0.0/src/add/world.bend as A
189# a ref that is not a commit: the default one, or the one named
190def tip.named(empty: Bool, +world: A.World) -> Tip:
191 match empty:
192 case True{}:
193 tip.tags(said(world, QTags{}), world)
194 case False{}:
195 tip.refs(said(world, QRefs{A.ref(world)}), world)