mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Allower a bigger diff before not displaying it
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ var doeHet = function() {
|
||||
});
|
||||
|
||||
$("message").innerHTML = commit.message.replace(/\n/g,"<br>");
|
||||
if (commit.diff.length < 1000) {
|
||||
if (commit.diff.length < 10000) {
|
||||
$("details").innerHTML = commit.diff;
|
||||
} else {
|
||||
$("details").innerHTML = "This diff is currently too large to watch in detailed mode";
|
||||
|
||||
Reference in New Issue
Block a user