diff options
Diffstat (limited to 'templates/branch_list.gph')
-rw-r--r-- | templates/branch_list.gph | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/branch_list.gph b/templates/branch_list.gph new file mode 100644 index 0000000..cd238ad --- /dev/null +++ b/templates/branch_list.gph @@ -0,0 +1,9 @@ +i{{.Repo.Name}} Branches ⌥ {{.Selector}} {{.Host}} {{.Port}}
+i{{ range .Repo.NameBytes }}-{{ end }}----------- {{.Selector}} {{.Host}} {{.Port}}
+i {{.Selector}} {{.Host}} {{.Port}}
+{{ range .Repo.Refs .Ctx -}} +{{ if .IsBranch -}} +1{{.ShortName}} {{combine $.Selector "refs/" .Hash}} {{$.Host}} {{$.Port}}
+{{ end -}} +{{ end -}} +.
|