Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Add file history and blame views

67a308badf4a88298639271a1201ff45cc3737a6 · Keenan Nemetz · 15d ago · parent f204e7ee

Add file history and blame views

A blob's toolbar now links to the commits that touched its path and to per-line attribution. File history uses git log for the path, following renames for blobs; blame groups consecutive lines by commit and shows the author and age in a left column. Both are read-only and reuse the existing commit-link and escaping rules.

server/web/templates/code.html +2

@@ -114,6 +114,8 @@
114 114 <a class="{{if not .Preview}}active{{end}}" href="/r/{{.Name}}/blob/{{esc .Ref}}/{{pathurl .Path}}" hx-get="/r/{{.Name}}/blob/{{esc .Ref}}/{{pathurl .Path}}" hx-target="#code-main" hx-swap="outerHTML" hx-push-url="true">source</a>
115 115 <a class="{{if .Preview}}active{{end}}" href="/r/{{.Name}}/blob/{{esc .Ref}}/{{pathurl .Path}}?preview=1" hx-get="/r/{{.Name}}/blob/{{esc .Ref}}/{{pathurl .Path}}?preview=1" hx-target="#code-main" hx-swap="outerHTML" hx-push-url="true">preview</a>
116 116 {{end}}
117 <a href="/r/{{.Name}}/commits/{{esc .Ref}}/{{pathurl .Path}}">history</a>
118 <a href="/r/{{.Name}}/blame/{{esc .Ref}}/{{pathurl .Path}}">blame</a>
117 119 <a href="/r/{{.Name}}/raw/{{esc .Ref}}/{{pathurl .Path}}">raw</a>
118 120 <span class="muted">{{bytes .Size}}</span>
119 121 {{else if and (eq .Mode "overview") .Readme}}