diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-12-13 21:13:11 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 21:13:11 +0900 |
| commit | 5f22dcc02df6e69145489c8bec6872e9452688b8 (patch) | |
| tree | 3ac971cab6328eb6d415796f80659f634630cde2 /attr.h | |
| parent | 7800e1dccf622ba8d490b4c1c92af734be6242ff (diff) | |
| parent | d96ea538e8dd0fcf381089a3b09c0a9af3617351 (diff) | |
| download | git-5f22dcc02df6e69145489c8bec6872e9452688b8.tar.xz | |
Sync with Git 2.32.5
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; /** |
