mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-07 08:02:14 +01:00
(refs #907)Omit diffs if updated files are 100 over
This commit is contained in:
@@ -551,7 +551,7 @@ object JGitUtil {
|
||||
|
||||
val diffs = git.diff.setNewTree(newTreeIter).setOldTree(oldTreeIter).call.asScala
|
||||
diffs.map { diff =>
|
||||
if(diffs.size > 1){
|
||||
if(diffs.size > 100){
|
||||
DiffInfo(
|
||||
changeType = diff.getChangeType,
|
||||
oldPath = diff.getOldPath,
|
||||
|
||||
Reference in New Issue
Block a user