summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h
index 2785fa425..def746323 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -25,6 +25,8 @@ enum {
GIT_DIFFCAPS_USE_DEV = (1 << 4), /* use st_dev? */
};
+#define MAX_DIFF_FILESIZE 0x20000000
+
struct git_diff_list {
git_refcount rc;
git_repository *repo;