summaryrefslogtreecommitdiffstats
path: root/models/git_diff.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-14 23:02:14 -0700
committerUnknwon <u@gogs.io>2016-08-14 23:52:24 -0700
commitcd89f6c5021ef129ecc4652aa620a3562ae30979 (patch)
treebf476d81479f249d5a1cfb195af2fdee3890d9a1 /models/git_diff.go
parent660e7a178a9d72a03d13f704aca61726b4672232 (diff)
downloadgitea-cd89f6c5021ef129ecc4652aa620a3562ae30979.tar.gz
gitea-cd89f6c5021ef129ecc4652aa620a3562ae30979.zip
Web editor: improve edit file and diff preview
Diffstat (limited to 'models/git_diff.go')
-rw-r--r--models/git_diff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/git_diff.go b/models/git_diff.go
index 5c5954fcac..a63a1bb999 100644
--- a/models/git_diff.go
+++ b/models/git_diff.go
@@ -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)