summaryrefslogtreecommitdiffstats
path: root/attr.c
AgeCommit message (Expand)AuthorLines
2023-01-19Sync with maint-2.31Junio C Hamano-1/+1
2023-01-19Sync with maint-2.30Junio C Hamano-1/+1
2023-01-19attr: adjust a mismatched data typeJohannes Schindelin-1/+1
2022-12-13Sync with Git 2.31.6Junio C Hamano-35/+56
2022-12-13Sync with Git 2.30.7Junio C Hamano-35/+60
2022-12-05attr: ignore overly large gitattributes filesPatrick Steinhardt-2/+22
2022-12-05attr: ignore attribute lines exceeding 2048 bytesPatrick Steinhardt-0/+5
2022-12-05attr: fix silently splitting up lines longer than 2048 bytesPatrick Steinhardt-6/+7
2022-12-05attr: harden allocation against integer overflowsPatrick Steinhardt-4/+3
2022-12-05attr: fix integer overflow with more than INT_MAX macrosPatrick Steinhardt-5/+5
2022-12-05attr: fix out-of-bounds read with unreasonable amount of patternsPatrick Steinhardt-9/+9
2022-12-05attr: fix out-of-bounds write when parsing huge number of attributesPatrick Steinhardt-8/+8
2022-12-05attr: fix integer overflow when parsing huge attribute namesPatrick Steinhardt-1/+1
2022-12-05attr: fix out-of-bounds read with huge attribute namesPatrick Steinhardt-1/+1
2022-12-05attr: fix overflow when upserting attribute with overly long namePatrick Steinhardt-1/+1
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano-7/+7
2021-04-14*: remove 'const' qualifier for struct index_stateDerrick Stolee-7/+7
2021-03-22Merge branch 'jk/open-dotgitx-with-nofollow'Junio C Hamano-22/+38
2021-03-13use CALLOC_ARRAYRené Scharfe-6/+6
2021-02-16attr: do not respect symlinks for in-tree .gitattributesJeff King-4/+15
2021-02-16attr: convert "macro_ok" into a flags fieldJeff King-19/+24
2020-11-11Use new HASHMAP_INIT macro to simplify hashmap initializationElijah Newren-18/+8
2019-11-18attr: move doc to attr.hHeba Waly-2/+1
2019-10-15Merge branch 'ew/hashmap'Junio C Hamano-11/+13
2019-10-07hashmap_entry: remove first member requirement from docsEric Wong-1/+1
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong-1/+1
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong-1/+0
2019-10-07hashmap: use *_entry APIs for iterationEric Wong-2/+3
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong-4/+6
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong-1/+1
2019-10-07hashmap_get takes "const struct hashmap_entry *"Eric Wong-1/+1
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong-2/+2
2019-09-05treewide: rename 'exclude' methods to 'pattern'Derrick Stolee-1/+1
2019-09-05treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_'Derrick Stolee-4/+4
2019-03-11Merge branch 'rd/attr.c-comment-typofix'Junio C Hamano-4/+4
2019-03-07attr.c: ".gitattribute" -> ".gitattributes" (comments)Robert P. J. Day-4/+4
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano-1/+0
2019-02-05Merge branch 'jk/attr-macro-fix'Junio C Hamano-15/+1
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy-1/+0
2019-01-22attr: do not mark queried macros as unsetJeff King-15/+1
2019-01-04Merge branch 'nd/i18n'Junio C Hamano-2/+2
2018-11-12attr.c: mark more string for translationNguyễn Thái Ngọc Duy-2/+2
2018-11-05attr.c: remove #ifdef NO_PTHREADSNguyễn Thái Ngọc Duy-14/+0
2018-09-12Make git_check_attr() a void functionTorsten Bögershausen-5/+3
2018-08-13attr: remove index from git_attr_set_direction()Nguyễn Thái Ngọc Duy-12/+3
2018-08-13attr: remove an implicit dependency on the_indexNguyễn Thái Ngọc Duy-19/+38
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin-5/+5
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller-1/+1
2017-09-07hashmap: add API to disable item counting when threadedJeff Hostetler-6/+9