def tip.sym

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

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

208# `ref: refs/heads/main` is `main`. Anything else is no branch.
209def tip.sym(+rev: String) -> String:
210  tip.strip(tip.strip(rev, "ref: "), "refs/heads/")

Uses (2)

Used by (1)