瀏覽代碼

fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425)

tags/v1.2.0-rc1
Kuba Tyszko 7 年之前
父節點
當前提交
5d6b71fdbb
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      models/git_diff.go

+ 0
- 1
models/git_diff.go 查看文件

@@ -287,7 +287,6 @@ func ParsePatch(maxLines, maxLineCharacters, maxFiles int, reader io.Reader) (*D
curFile.IsBin = true
curFile.IsLFSFile = true
curSection.Lines = nil
break
}
}
}

Loading…
取消
儲存