]> git.ipfire.org Git - thirdparty/git.git/blobdiff - attr.h
Sync with 2.31.8
[thirdparty/git.git] / attr.h
diff --git a/attr.h b/attr.h
index 3732505edae806a8e847434905fe8cff09b6b063..583543a84a929f4eb4b61232c6e4a04271fe40dd 100644 (file)
--- a/attr.h
+++ b/attr.h
  * - Free the `attr_check` struct by calling `attr_check_free()`.
  */
 
+/**
+ * The maximum line length for a gitattributes file. If the line exceeds this
+ * length we will ignore it.
+ */
+#define ATTR_MAX_LINE_LENGTH 2048
+
+ /**
+  * The maximum size of the giattributes file. If the file exceeds this size we
+  * will ignore it.
+  */
+#define ATTR_MAX_FILE_SIZE (100 * 1024 * 1024)
+
 struct index_state;
 
 /**