diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-12-13 15:02:20 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 15:02:20 +0300 |
commit | 16128765d70f1375bcde3f27f51f85492b176a59 (patch) | |
tree | dd23b225efbbae95d2446dddb24822cec4a95f01 /attr.h | |
parent | ecf9b4a443ecd2c7dc759e5d18f226694bc3eced (diff) | |
parent | b7b37a33711e64bf580ef3141878b12a36e28833 (diff) |
Sync with Git 2.30.7
Diffstat (limited to 'attr.h')
-rw-r--r-- | attr.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -107,6 +107,18 @@ * - 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; /** |