From 77725e02cc964f980465b158bb86c4061e6bfcca Mon Sep 17 00:00:00 2001 From: tjp Date: Tue, 14 Nov 2023 21:53:09 -0700 Subject: support for nex protocol --- templates/branch_list.nex.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/branch_list.nex.txt (limited to 'templates/branch_list.nex.txt') 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 -}} -- cgit v1.2.3