programs/git: add handy JJ aliases for branch root
ovyerus.com 1 month ago 28ea6a2a fd97ea5b
··· 98 98 "closest_bookmark(to)" = "heads(::to & bookmarks())"; 99 99 "p(n)" = "p(@, n)"; 100 100 "p(r, n)" = "roots(r | ancestors(r-, n))"; 101 101 + "tail()" = "tail(@)"; 102 102 + "tail(h)" = "roots(trunk()..h)"; 101 103 }; 102 104 103 105 aliases = {