Merge branch 'maint-2.35' into maint-2.36

This commit is contained in:
Junio C Hamano
2022-12-13 21:19:11 +09:00
18 changed files with 551 additions and 124 deletions

12
attr.h
View File

@@ -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;
/**