diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-12-13 15:19:11 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 15:19:11 +0300 |
commit | 8253c0042147e005aecc4fdf24520d1ec2ab1642 (patch) | |
tree | a48384374c2e022cf6205633a2a263c4d2e3d730 /attr.h | |
parent | fcdaa211e6127eeba69a121844e08aec67da2131 (diff) | |
parent | 02f498172348f7ba9dceb169305b74c7eca7a38d (diff) |
Merge branch 'maint-2.35' into maint-2.36
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; /** |