git, templates: diff view
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M git/diff.go → git/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