summaryrefslogtreecommitdiff
path: root/templates/branch_list.nex.txt
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2023-11-14 21:53:09 -0700
committertjp <tjp@ctrl-c.club>2023-11-14 21:53:09 -0700
commit77725e02cc964f980465b158bb86c4061e6bfcca (patch)
treee6e2ae135b08ff82d3244c0369607bc4046730c9 /templates/branch_list.nex.txt
parent8c6db5a6847aea8955579c4d709d3f7748745f3d (diff)
support for nex protocolHEADv0.9.5main
Diffstat (limited to 'templates/branch_list.nex.txt')
-rw-r--r--templates/branch_list.nex.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/branch_list.nex.txt b/templates/branch_list.nex.txt
new file mode 100644
index 0000000..1e8abf8
--- /dev/null
+++ b/templates/branch_list.nex.txt
@@ -0,0 +1,8 @@
+{{.Repo.Name}} Branches ⌥
+{{range .Repo.NameBytes}}-{{end}}-----------
+
+{{ range .Repo.Refs .Ctx -}}
+{{ if .IsBranch -}}
+=> ../refs/{{.Hash}}/ {{.ShortName}}
+{{ end -}}
+{{ end -}}