def tip.sym
import ezx@1.11.0.0/src/git/git.bend as Gitimport 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/")
import ezx@1.11.0.0/src/git/git.bend as Gitimport 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/")