Commit Graph

182 Commits (c50926e1f48891e2671e1830dbcd2912a4563450)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 501036492b misc *.c: use designated initializers for struct assignments 9 months ago
Elia Pinto 5775da0ced attr.c: delete duplicate include 9 months ago
Derrick Stolee 77efbb366a attr: be careful about sparse directories 1 year ago
Andrei Rybak abcb66c614 *: fix typos which duplicate a word 1 year ago
Derrick Stolee 847a9e5d4f *: remove 'const' qualifier for struct index_state 2 years ago
René Scharfe ca56dadb4b use CALLOC_ARRAY 2 years ago
Jeff King 2ef579e261 attr: do not respect symlinks for in-tree .gitattributes 2 years ago
Jeff King dbf387d550 attr: convert "macro_ok" into a flags field 2 years ago
Elijah Newren b19315d8ab Use new HASHMAP_INIT macro to simplify hashmap initialization 2 years ago
Heba Waly 3a1b3415d9 attr: move doc to attr.h 3 years ago
Eric Wong e2b5038d87 hashmap_entry: remove first member requirement from docs 3 years ago
Eric Wong 404ab78e39 hashmap: remove type arg from hashmap_{get,put,remove}_entry 3 years ago
Eric Wong 23dee69f53 OFFSETOF_VAR macro to simplify hashmap iterators 3 years ago
Eric Wong 87571c3f71 hashmap: use *_entry APIs for iteration 3 years ago
Eric Wong 939af16eac hashmap_cmp_fn takes hashmap_entry params 3 years ago
Eric Wong f23a465132 hashmap_get{,_from_hash} return "struct hashmap_entry *" 3 years ago
Eric Wong b6c5241606 hashmap_get takes "const struct hashmap_entry *" 3 years ago
Eric Wong b94e5c1df6 hashmap_add takes "struct hashmap_entry *" 3 years ago
Eric Wong d22245a2e3 hashmap_entry_init takes "struct hashmap_entry *" 3 years ago
Derrick Stolee 65edd96aec treewide: rename 'exclude' methods to 'pattern' 3 years ago
Derrick Stolee 4ff89ee52c treewide: rename 'EXCL_FLAG_' to 'PATTERN_FLAG_' 3 years ago
Robert P. J. Day bb101aaf0c attr.c: ".gitattribute" -> ".gitattributes" (comments) 4 years ago
Nguyễn Thái Ngọc Duy f8adbec9fe cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch 4 years ago
Jeff King 7b95849be4 attr: do not mark queried macros as unset 4 years ago
Nguyễn Thái Ngọc Duy ad8f8f4aed attr.c: mark more string for translation 4 years ago
Nguyễn Thái Ngọc Duy 2e1b141a01 attr.c: remove #ifdef NO_PTHREADS 4 years ago
Torsten Bögershausen d64324cb60 Make git_check_attr() a void function 4 years ago
Nguyễn Thái Ngọc Duy c4500e251f attr: remove index from git_attr_set_direction() 4 years ago
Nguyễn Thái Ngọc Duy 7a400a2c02 attr: remove an implicit dependency on the_index 4 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 5 years ago
Stefan Beller d807c4a01d exec_cmd: rename to use dash in file name 5 years ago
Jeff Hostetler 8b604d1951 hashmap: add API to disable item counting when threaded 5 years ago
Stefan Beller 201c14e375 attr.c: drop hashmap_cmp_fn cast 5 years ago
Stefan Beller 7663cdc86c hashmap.h: compare function has access to a data field 5 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 6 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 6 years ago
Nguyễn Thái Ngọc Duy e9d983f116 wrapper.c: add and use fopen_or_warn() 6 years ago
Brandon Williams b0db704652 pathspec: allow querying for attributes 6 years ago
Brandon Williams f0dd042148 attr: reformat git_attr_set_direction() function 6 years ago
Brandon Williams 0787dafdcc attr: push the bare repo check into read_attr() 6 years ago
Brandon Williams dc81cf377c attr: store attribute stack in attr_check structure 6 years ago
Brandon Williams e810e06357 attr: tighten const correctness with git_attr and match_attr 6 years ago
Brandon Williams 60a12722ac attr: remove maybe-real, maybe-macro from git_attr 6 years ago
Brandon Williams 685b292575 attr: eliminate global check_all_attr array 6 years ago
Brandon Williams 1a600b7555 attr: use hashmap for attribute dictionary 6 years ago
Junio C Hamano 428103c7f1 attr: change validity check for attribute names to use positive logic 6 years ago
Brandon Williams 6bc2e3f709 attr: pass struct attr_check to collect_some_attrs 6 years ago
Junio C Hamano 1295c21524 attr: retire git_check_attrs() API 6 years ago
Junio C Hamano 7f8641112d attr: convert git_all_attrs() to use "struct attr_check" 6 years ago
Junio C Hamano 37293768d0 attr: (re)introduce git_check_attr() and struct attr_check 6 years ago