Git.tip.rev.pick: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/git/git.bend as Git Lines 181-187 of ezx@1.11.0.0/src/git/git.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/git/git.bend&start_line=181&end_line=187 import Base # a HEAD row's commit, or "" when the row is the symref or not HEAD def tip.rev.pick(head: Bool, hex: Bool, rev: String) -> String: match head: case False{}: "" case True{}: tip.rev.hex(hex, rev) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/git/git.bend&name=tip.rev.hex