def tip.branch.pick

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

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

212# the symref only, so the commit row that follows it contributes nothing
213def tip.branch.pick(head: Bool, rev: String) -> String:
214  match head:
215    case False{}:
216      ""
217    case True{}:
218      tip.sym(rev)

Uses (3)

Used by (1)