aboutsummaryrefslogtreecommitdiffstats
path: root/name-hash.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-26name-hash: add index_dir_find()Jeff Hostetler1-1/+8
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+2
2023-06-21name-hash.h: move declarations for name-hash.c from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-2/+2
2022-08-19hashmap: mark unused callback parametersJeff King1-2/+2
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-2/+9
2021-04-14name-hash: use expand_to_path()Derrick Stolee1-0/+4
2021-04-14name-hash: don't add directories to name_hashDerrick Stolee1-2/+5
2021-03-13use CALLOC_ARRAYRené Scharfe1-4/+4
2021-01-23name-hash: use trace2 regions for initDerrick Stolee1-0/+3
2020-11-02hashmap: provide deallocation function namesElijah Newren1-2/+2
2019-12-01Merge branch 'en/doc-typofix'Junio C Hamano1-1/+1
2019-11-10Fix spelling errors in code commentsElijah Newren1-1/+1
2019-11-07name-hash.c: remove duplicate word in commentElijah Newren1-1/+1
2019-10-07hashmap: remove type arg from hashmap_{get,put,remove}_entryEric Wong1-2/+1
2019-10-07OFFSETOF_VAR macro to simplify hashmap iteratorsEric Wong1-2/+1
2019-10-07hashmap: introduce hashmap_free_entriesEric Wong1-2/+2
2019-10-07hashmap_cmp_fn takes hashmap_entry paramsEric Wong1-8/+13
2019-10-07hashmap_get{,_from_hash} return "struct hashmap_entry *"Eric Wong1-1/+2
2019-10-07hashmap: use *_entry APIs to wrap container_ofEric Wong1-6/+5
2019-10-07hashmap_get_next returns "struct hashmap_entry *"Eric Wong1-3/+5
2019-10-07hashmap_remove takes "const struct hashmap_entry *"Eric Wong1-2/+2
2019-10-07hashmap_get takes "const struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_add takes "struct hashmap_entry *"Eric Wong1-4/+4
2019-10-07hashmap_get_next takes "const struct hashmap_entry *"Eric Wong1-1/+1
2019-10-07hashmap_entry_init takes "struct hashmap_entry *"Eric Wong1-5/+5
2019-06-13cleanup: fix possible overflow errors in binary search, part 2René Scharfe1-1/+2
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-1/+0
2018-11-05Clean up pthread_create() error handlingNguyễn Thái Ngọc Duy1-6/+10
2018-11-05name-hash.c: remove #ifdef NO_PTHREADSNguyễn Thái Ngọc Duy1-18/+4
2018-08-18trace.h: support nested performance tracingNguyễn Thái Ngọc Duy1-2/+2
2018-02-27Merge branch 'bp/name-hash-dirname-fix'Junio C Hamano1-3/+3
2018-02-08name-hash: properly fold directory names in adjust_dirname_case()Ben Peart1-3/+3
2018-02-02trace: measure where the time is spent in the index-heavy operationsNguyễn Thái Ngọc Duy1-0/+3
2017-09-07hashmap: add API to disable item counting when threadedJeff Hostetler1-2/+8
2017-07-05name-hash.c: drop hashmap_cmp_fn castStefan Beller1-9/+13
2017-06-30hashmap.h: compare function has access to a data fieldStefan Beller1-6/+10
2017-03-31name-hash: fix buffer overrunKevin Willford1-1/+3
2017-03-24name-hash: perf improvement for lazy_init_name_hashJeff Hostetler1-7/+485
2017-03-22name-hash: specify initial size for istate.dir_hash tableJeff Hostetler1-1/+2
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King1-2/+1
2015-10-21name-hash: don't reuse cache_entry in dir_entryDavid Turner1-26/+28
2014-07-07hashmap: add simplified hashmap_get_from_hash() APIKarsten Blees1-3/+2
2014-06-20name-hash.c: replace cache_name_compare() with memcmp(3)Jeremiah Mahler1-1/+1
2014-02-24name-hash: retire unused index_name_exists()Eric Sunshine1-8/+1
2013-11-18name-hash.c: remove cache entries instead of marking them CE_UNHASHEDKarsten Blees1-24/+22
2013-11-18name-hash.c: use new hash map implementation for cache entriesKarsten Blees1-16/+8
2013-11-18name-hash.c: remove unreferenced directory entriesKarsten Blees1-7/+8
2013-11-18name-hash.c: use new hash map implementation for directoriesKarsten Blees1-59/+18
2013-09-17name-hash: stop storing trailing '/' on paths in index_state.dir_hashEric Sunshine1-5/+6
2013-09-17name-hash: refactor polymorphic index_name_exists()Eric Sunshine1-24/+30
2013-04-01Merge branch 'kb/name-hash'Junio C Hamano1-43/+139
2013-03-21Merge branch 'nd/preallocate-hash'Junio C Hamano1-0/+2
2013-03-16Preallocate hash tables when the number of inserts are known in advanceNguyễn Thái Ngọc Duy1-0/+2
2013-02-27name-hash.c: fix endless loop with core.ignorecase=trueKarsten Blees1-43/+139
2013-02-19name-hash: allow hashing an empty stringJunio C Hamano1-2/+2
2011-11-01name-hash.c: always initialize dir_next pointerJohannes Sixt1-1/+1
2011-10-07fix phantom untracked files when core.ignorecase is setJeff King1-7/+8
2010-10-06Add case insensitivity support for directories when using git statusJoshua Jensen1-1/+71
2008-04-09Make hash_name_lookup able to do case-independent lookupsLinus Torvalds1-2/+48
2008-04-09Make "index_name_exists()" return the cache_entry it foundLinus Torvalds1-3/+3
2008-04-09Move name hashing functions into a file of its ownLinus Torvalds1-0/+73