Sync with 'maint'

This commit is contained in:
Junio C Hamano 2023-01-17 06:59:22 -08:00
commit a7caae2729
2 changed files with 13 additions and 1 deletions

View File

@ -46,6 +46,18 @@
`fullPathname`::
(WARN) A path contains the full path starting with "/".
`gitattributesBlob`::
(ERROR) A non-blob found at `.gitattributes`.
`gitattributesLarge`::
(ERROR) The `.gitattributes` blob is too large.
`gitattributesLineLength`::
(ERROR) The `.gitattributes` blob contains too long lines.
`gitattributesMissing`::
(ERROR) Unable to read `.gitattributes` blob.
`gitattributesSymlink`::
(INFO) `.gitattributes` is a symlink.

2
attr.c
View File

@ -752,7 +752,7 @@ static struct attr_stack *read_attr_from_index(struct index_state *istate,
struct attr_stack *res;
char *buf, *sp;
int lineno = 0;
size_t size;
unsigned long size;
if (!istate)
return NULL;