summaryrefslogtreecommitdiff
path: root/attr.c
AgeCommit message (Expand)AuthorFilesLines
2022-12-13Merge branch 'maint-2.35' into maint-2.36Junio C Hamano1-35/+56
2022-12-13Merge branch 'maint-2.33' into maint-2.34Junio C Hamano1-35/+56
2022-12-13Sync with Git 2.32.5Junio C Hamano1-35/+56
2022-12-13Sync with Git 2.31.6Junio C Hamano1-35/+56
2022-12-13Sync with Git 2.30.7Junio C Hamano1-35/+60
2022-12-05attr: ignore overly large gitattributes filesPatrick Steinhardt1-2/+22
2022-12-05attr: ignore attribute lines exceeding 2048 bytesPatrick Steinhardt1-0/+5
2022-12-05attr: fix silently splitting up lines longer than 2048 bytesPatrick Steinhardt1-6/+7
2022-12-05attr: harden allocation against integer overflowsPatrick Steinhardt1-4/+3
2022-12-05attr: fix integer overflow with more than INT_MAX macrosPatrick Steinhardt1-5/+5
2022-12-05attr: fix out-of-bounds read with unreasonable amount of patternsPatrick Steinhardt1-9/+9
2022-12-05attr: fix out-of-bounds write when parsing huge number of attributesPatrick Steinhardt1-8/+8
2022-12-05attr: fix integer overflow when parsing huge attribute namesPatrick Steinhardt1-1/+1
2022-12-05attr: fix out-of-bounds read with huge attribute namesPatrick Steinhardt1-1/+1
2022-12-05attr: fix overflow when upserting attribute with overly long namePatrick Steinhardt1-1/+1
2022-03-29Merge branch 'ab/refs-various-fixes'Junio C Hamano1-1/+1
2022-03-17misc *.c: use designated initializers for struct assignmentsÆvar Arnfjörð Bjarmason1-1/+1
2022-03-13attr.c: delete duplicate includeElia Pinto1-1/+0
2021-09-07attr: be careful about sparse directoriesDerrick Stolee1-0/+15
2021-06-14*: fix typos which duplicate a wordAndrei Rybak1-1/+1
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-7/+7
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee1-7/+7
2021-03-22Merge branch 'jk/open-dotgitx-with-nofollow'Junio C Hamano1-22/+38
2021-03-13use CALLOC_ARRAYRené Scharfe1-6/+6
2021-02-16attr: do not respect symlinks for in-tree .gitattributesJeff King1-4/+15
2021-02-16attr: convert "macro_ok" into a flags fieldJeff King1-19/+24
2020-11-11Use new HASHMAP_INIT macro to simplify hashmap initializationElijah Newren1-18/+8
2019-11-18attr: move doc to attr.hHeba Waly1-2/+1
2019-10-15Merge branch 'ew/hashmap'Junio C Hamano1-11/+13
2019-10-07hashmap_entry: remove first member requirement from docsEric Wong1-1/+1
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong1-1/+1
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong1-1/+0
2019-10-07hashmap: use *_entry APIs for iterationEric Wong1-2/+3
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong1-4/+6
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_get takes "const struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong1-2/+2
2019-09-05treewide: rename 'exclude' methods to 'pattern'Derrick Stolee1-1/+1
2019-09-05treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'Derrick Stolee1-4/+4
2019-03-11Merge branch 'rd/attr.c-comment-typofix'Junio C Hamano1-4/+4
2019-03-07attr.c: ".gitattribute" -> ".gitattributes" (comments)Robert P. J. Day1-4/+4
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-1/+0
2019-02-05Merge branch 'jk/attr-macro-fix'Junio C Hamano1-15/+1
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-1/+0
2019-01-22attr: do not mark queried macros as unsetJeff King1-15/+1
2019-01-04Merge branch 'nd/i18n'Junio C Hamano1-2/+2
2018-11-12attr.c: mark more string for translationNguyễn Thái Ngọc Duy1-2/+2
2018-11-05attr.c: remove #ifdef NO_PTHREADSNguyễn Thái Ngọc Duy1-14/+0
2018-09-12Make git_check_attr() a void functionTorsten Bögershausen1-5/+3