Web editor: improve edit file and diff preview

This commit is contained in:
Unknwon committed 2016-08-14 23:52:24 -07:00
1 parent 660e7a178a
commit cd89f6c502
15 files changed
+477 -475

No files matched your search

+1 -1
View File
@@ -434,7 +434,7 @@ func GetDiffRange(repoPath, beforeCommitID, afterCommitID string, maxLines, maxL
return nil, fmt.Errorf("Start: %v", err)
}
pid := process.Add(fmt.Sprintf("GetDiffRange (%s)", repoPath), cmd)
pid := process.Add(fmt.Sprintf("GetDiffRange [repo_path: %s]", repoPath), cmd)
defer process.Remove(pid)
diff, err := ParsePatch(maxLines, maxLineCharacteres, maxFiles, stdout)