@@ -452,10 +452,11 @@ func (h *handler) ChangeFilesHandler(w http.ResponseWriter, req *http.Request, c commit.PrevSHA = cs[prev].SHA } if next := i + 1; next < len(cs) { commit.NextSHA = cs[next].SHA } state.PrevSHA, state.NextSHA = commit.PrevSHA, commit.NextSHA } var opt *change.GetDiffOptions if commitID != "" { opt = &change.GetDiffOptions{Commit: commitID} }