1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00

Show primitive diffs of deleted hyphae

This commit is contained in:
Timur Ismagilov 2021-07-30 19:20:21 +05:00
parent b7cbe04cfc
commit 448eec3d6f
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
{% func PrimitiveDiffHTML(rq *http.Request, h *hyphae.Hypha, u *user.User, hash string) %}
{% code
text, err := history.PrimitiveDiffAtRevision(h.TextPath, hash)
text, err := history.PrimitiveDiffAtRevision(h.TextPartPath(), hash)
if err != nil {
text = err.Error()
}

View File

@ -47,7 +47,7 @@ func StreamPrimitiveDiffHTML(qw422016 *qt422016.Writer, rq *http.Request, h *hyp
qw422016.N().S(`
`)
//line views/history.qtpl:14
text, err := history.PrimitiveDiffAtRevision(h.TextPath, hash)
text, err := history.PrimitiveDiffAtRevision(h.TextPartPath(), hash)
if err != nil {
text = err.Error()
}