def drift.where
import ezx@1.11.0.0/src/share/say.bend as Sayimport Base
134# the commit the words name. A tag is what a person pinned; a bare rev is not.
135def drift.where(bare: Bool, +tag: String, +rev: String) -> String:
136 match bare:
137 case True{}:
138 "commit " ++ rev
139 case False{}:
140 "tagged commit " ++ tag ++ " (" ++ rev ++ ")"