def tip.rev

ezx@1.11.0.0 · src/git/git.bend:194

import ezx@1.11.0.0/src/git/git.bend as Git
import Base

194# the commit HEAD names, from the rows `ls-remote --symref` wrote
195def tip.rev(rs: List<&2, Row>) -> String:
196  match rs:
197    case []:
198      ""
199    case +h <> t:
200      tip.step(String.is_empty(tip.rev.at(h)), tip.rev.at(h), _u => tip.rev(t))

Uses (6)

Used by (4)