all repos — elgit @ 3e6a720154b70a9882af14399548e494b1d0089f

fork of legit: web frontend for git, written in go

git, templates: diff view

commit

3e6a720154b70a9882af14399548e494b1d0089f

parent

5091695e75b2db30b8926d8aa17164c84031bc77

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M git/diff.gogit/diff.go
@@ -69,9 +69,9 @@ nd.Commit.This = c.Hash.String()
nd.Commit.Parent = parent.Hash.String() nd.Commit.Author = c.Author nd.Commit.Message = c.Message - ndiff := Diff{} for _, d := range diffs { + ndiff := Diff{} ndiff.Name.New = d.NewName ndiff.Name.Old = d.OldName