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:
parent
b7cbe04cfc
commit
448eec3d6f
@ -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()
|
||||
}
|
||||
|
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user