summaryrefslogtreecommitdiff
path: root/cache-tree.c
AgeCommit message (Expand)AuthorFilesLines
2017-10-10cleanup: fix possible overflow errors in binary searchLibravatar Derrick Stolee1-1/+1
2017-10-06cache-tree: simplify locking logicLibravatar Martin Ågren1-8/+4
2017-09-06stop leaking lock structs in some simple casesLibravatar Jeff King1-10/+4
2017-09-06write_index_as_tree: cleanup tempfile on errorLibravatar Jeff King1-8/+15
2017-07-17use MOVE_ARRAYLibravatar René Scharfe1-3/+2
2017-05-29Merge branch 'bc/object-id'Libravatar Junio C Hamano1-16/+17
2017-05-08Convert lookup_tree to struct object_idLibravatar brian m. carlson1-1/+1
2017-05-02Convert struct cache_tree to use struct object_idLibravatar brian m. carlson1-15/+16
2017-04-23cache-tree: reject entries with null sha1Libravatar Jeff King1-1/+3
2016-09-07cache: convert struct cache_entry to use struct object_idLibravatar brian m. carlson1-2/+2
2016-07-18cache-tree: do not generate empty trees as a result of all i-t-a subentriesLibravatar Nguyễn Thái Ngọc Duy1-1/+9
2016-07-18cache-tree.c: fix i-t-a entry skipping directory updates sometimesLibravatar Nguyễn Thái Ngọc Duy1-2/+2
2016-04-25struct name_entry: use struct object_id instead of unsigned char sha1[20]Libravatar brian m. carlson1-2/+2
2016-02-26Merge branch 'jk/tighten-alloc'Libravatar Junio C Hamano1-3/+1
2016-02-22convert trivial cases to FLEX_ARRAY macrosLibravatar Jeff King1-3/+1
2016-01-20Merge branch 'nd/ita-cleanup'Libravatar Junio C Hamano1-1/+1
2015-11-20Remove get_object_hash.Libravatar brian m. carlson1-1/+1
2015-11-20Add several uses of get_object_hash.Libravatar brian m. carlson1-1/+1
2015-09-06add and use a convenience macro ce_intent_to_add()Libravatar Nguyễn Thái Ngọc Duy1-1/+1
2015-08-04cache-tree: introduce write_index_as_tree()Libravatar Paul Tan1-12/+17
2014-11-06Merge branch 'jk/cache-tree-protect-from-broken-libgit2'Libravatar Junio C Hamano1-0/+2
2014-10-30cache-tree: avoid infinite loop on zero-entry treeLibravatar Jeff King1-0/+2
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cLibravatar Michael Haggerty1-0/+1
2014-09-11Merge branch 'dt/cache-tree-repair'Libravatar Junio C Hamano1-2/+17
2014-09-03cache-tree: do not try to use an invalidated subtree info to build a treeLibravatar Junio C Hamano1-1/+6
2014-07-07cache-tree: create/update cache-tree on checkoutLibravatar David Turner1-1/+11
2014-06-13cache-tree: mark istate->cache_changed on prime_cache_tree()Libravatar Nguyễn Thái Ngọc Duy1-4/+5
2014-06-13cache-tree: mark istate->cache_changed on cache tree updateLibravatar Nguyễn Thái Ngọc Duy1-14/+11
2014-06-13cache-tree: mark istate->cache_changed on cache tree invalidationLibravatar Nguyễn Thái Ngọc Duy1-4/+11
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheLibravatar Nguyễn Thái Ngọc Duy1-2/+1
2014-03-18Merge branch 'rm/strchrnul-not-strlen'Libravatar Junio C Hamano1-4/+3
2014-03-18Merge branch 'mh/simplify-cache-tree-find'Libravatar Junio C Hamano1-10/+7
2014-03-10use strchrnul() in place of strchr() and strlen()Libravatar Rohit Mani1-9/+6
2014-03-05cache_tree_find(): use path variable when passing over slashesLibravatar Michael Haggerty1-2/+3
2014-03-05cache_tree_find(): remove early returnLibravatar Michael Haggerty1-2/+0
2014-03-05cache_tree_find(): remove redundant checkLibravatar Michael Haggerty1-1/+1
2014-03-05cache_tree_find(): fix comment formattingLibravatar Michael Haggerty1-2/+3
2014-03-05cache_tree_find(): find the end of path component using strchrnul()Libravatar Michael Haggerty1-3/+1
2014-03-05cache_tree_find(): remove redundant checksLibravatar Michael Haggerty1-4/+3
2014-03-03cache-tree.c: use ALLOC_GROW() in find_subtree()Libravatar Dmitry S. Dolzhenko1-5/+1
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleLibravatar Nguyễn Thái Ngọc Duy1-9/+10
2012-12-15cache-tree: invalidate i-t-a paths after generating treesLibravatar Nguyễn Thái Ngọc Duy1-2/+12
2012-12-15cache-tree: fix writing cache-tree when CE_REMOVE is presentLibravatar Nguyễn Thái Ngọc Duy1-7/+23
2012-12-15cache-tree: replace "for" loops in update_one with "while" loopsLibravatar Nguyễn Thái Ngọc Duy1-5/+10
2012-12-15cache-tree: remove dead i-t-a code in verify_cache()Libravatar Nguyễn Thái Ngọc Duy1-6/+2
2012-02-12Merge branch 'nd/cache-tree-api-refactor'Libravatar Junio C Hamano1-15/+12
2012-02-12Merge branch 'jc/maint-commit-ignore-i-t-a'Libravatar Junio C Hamano1-3/+3
2012-02-07cache-tree: update API to take abitrary flagsLibravatar Nguyễn Thái Ngọc Duy1-15/+12
2012-02-07commit: ignore intent-to-add entries instead of refusingLibravatar Junio C Hamano1-3/+3
2011-12-06Refactor cache_tree_update idiom from commitLibravatar Thomas Rast1-4/+15