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.
Name a deleted file once in its diff header
e411131b7f3d8b9f2045bcd24a6ec281e7058bcc · Keenan Nemetz · 8d ago · parent bef0c093
Name a deleted file once in its diff header The header prefixes the old path and an arrow only for a file that moved, but the test for "moved" was "an old path and a different new one", which is also true of a deletion with no new path at all: the pane read "gone.txt → gone.txt". Require both sides before calling it a rename.
server/web/templates/diff.html +1−1
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | {{$file := .}} | |
| 11 | 11 | <section class="diff"{{if .Language}} data-highlight="{{.Language}}"{{end}}> | |
| 12 | 12 | <h3> | |
| 13 | <span class="path">{{if and .OldPath (ne .OldPath .NewPath)}}{{.OldPath}} → {{end}}{{.Label}}</span>{{if .Binary}}<span class="label">binary</span>{{end}} | ||
| 13 | <span class="path">{{if and .OldPath .NewPath (ne .OldPath .NewPath)}}{{.OldPath}} → {{end}}{{.Label}}</span>{{if .Binary}}<span class="label">binary</span>{{end}} | ||
| 14 | 14 | <span class="diffstat">{{if .Added}}<span class="adds">+{{.Added}}</span>{{end}}{{if .Removed}}<span class="dels">−{{.Removed}}</span>{{end}}</span> | |
| 15 | 15 | </h3> | |
| 16 | 16 | {{if .Binary}} | |