summaryrefslogtreecommitdiff
path: root/cache-tree.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'tg/split-index-fixes' into maintJunio C Hamano2018-03-221-1/+1
|\
| * read-cache: fix reading the shared index for other reposThomas Gummerer2018-01-191-1/+1
* | Merge branch 'ma/lockfile-fixes'Junio C Hamano2017-11-061-8/+4
|\ \ | |/ |/|
| * cache-tree: simplify locking logicMartin Ågren2017-10-061-8/+4
* | cleanup: fix possible overflow errors in binary searchds/avoid-overflow-in-midpoint-computationDerrick Stolee2017-10-101-1/+1
|/
* stop leaking lock structs in some simple casesjk/incore-lockfile-removalJeff King2017-09-061-10/+4
* write_index_as_tree: cleanup tempfile on errorJeff King2017-09-061-8/+15
* use MOVE_ARRAYRené Scharfe2017-07-171-3/+2
* Merge branch 'bc/object-id'Junio C Hamano2017-05-291-16/+17
|\
| * Convert lookup_tree to struct object_idbrian m. carlson2017-05-081-1/+1
| * Convert struct cache_tree to use struct object_idbrian m. carlson2017-05-021-15/+16
* | cache-tree: reject entries with null sha1jk/no-null-sha1-in-cache-treeJeff King2017-04-231-1/+3
|/
* cache: convert struct cache_entry to use struct object_idbrian m. carlson2016-09-071-2/+2
* cache-tree: do not generate empty trees as a result of all i-t-a subentriesnd/cache-tree-itaNguyễn Thái Ngọc Duy2016-07-181-1/+9
* cache-tree.c: fix i-t-a entry skipping directory updates sometimesNguyễn Thái Ngọc Duy2016-07-181-2/+2
* struct name_entry: use struct object_id instead of unsigned char sha1[20]brian m. carlson2016-04-251-2/+2
* Merge branch 'jk/tighten-alloc'Junio C Hamano2016-02-261-3/+1
|\
| * convert trivial cases to FLEX_ARRAY macrosJeff King2016-02-221-3/+1
* | Merge branch 'nd/ita-cleanup'Junio C Hamano2016-01-201-1/+1
|\ \ | |/ |/|
| * add and use a convenience macro ce_intent_to_add()Nguyễn Thái Ngọc Duy2015-09-061-1/+1
* | Remove get_object_hash.brian m. carlson2015-11-201-1/+1
* | Add several uses of get_object_hash.brian m. carlson2015-11-201-1/+1
* | cache-tree: introduce write_index_as_tree()Paul Tan2015-08-041-12/+17
|/
* Merge branch 'jk/cache-tree-protect-from-broken-libgit2'Junio C Hamano2014-11-061-0/+2
|\
| * cache-tree: avoid infinite loop on zero-entry treejk/cache-tree-protect-from-broken-libgit2Jeff King2014-10-301-0/+2
* | lockfile.h: extract new header file for the functions in lockfile.cmh/lockfileMichael Haggerty2014-10-011-0/+1
* | Merge branch 'dt/cache-tree-repair'Junio C Hamano2014-09-111-2/+17
|\ \ | |/ |/|
| * cache-tree: do not try to use an invalidated subtree info to build a treeJunio C Hamano2014-09-031-1/+6
| * cache-tree: create/update cache-tree on checkoutDavid Turner2014-07-071-1/+11
* | cache-tree: mark istate->cache_changed on prime_cache_tree()Nguyễn Thái Ngọc Duy2014-06-131-4/+5
* | cache-tree: mark istate->cache_changed on cache tree updateNguyễn Thái Ngọc Duy2014-06-131-14/+11
* | cache-tree: mark istate->cache_changed on cache tree invalidationNguyễn Thái Ngọc Duy2014-06-131-4/+11
* | read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy2014-06-131-2/+1
|/
* Merge branch 'rm/strchrnul-not-strlen'Junio C Hamano2014-03-181-4/+3
|\
| * use strchrnul() in place of strchr() and strlen()rm/strchrnul-not-strlenRohit Mani2014-03-101-9/+6
* | Merge branch 'mh/simplify-cache-tree-find'Junio C Hamano2014-03-181-10/+7
|\ \
| * | cache_tree_find(): use path variable when passing over slashesmh/simplify-cache-tree-findMichael Haggerty2014-03-051-2/+3
| * | cache_tree_find(): remove early returnMichael Haggerty2014-03-051-2/+0
| * | cache_tree_find(): remove redundant checkMichael Haggerty2014-03-051-1/+1
| * | cache_tree_find(): fix comment formattingMichael Haggerty2014-03-051-2/+3
| * | cache_tree_find(): find the end of path component using strchrnul()Michael Haggerty2014-03-051-3/+1
| * | cache_tree_find(): remove redundant checksMichael Haggerty2014-03-051-4/+3
| |/
* | cache-tree.c: use ALLOC_GROW() in find_subtree()Dmitry S. Dolzhenko2014-03-031-5/+1
|/
* Convert "struct cache_entry *" to "const ..." wherever possiblend/const-struct-cache-entryNguyễn Thái Ngọc Duy2013-07-091-9/+10
* cache-tree: invalidate i-t-a paths after generating treesNguyễn Thái Ngọc Duy2012-12-151-2/+12
* cache-tree: fix writing cache-tree when CE_REMOVE is presentNguyễn Thái Ngọc Duy2012-12-151-7/+23
* cache-tree: replace "for" loops in update_one with "while" loopsNguyễn Thái Ngọc Duy2012-12-151-5/+10
* cache-tree: remove dead i-t-a code in verify_cache()Nguyễn Thái Ngọc Duy2012-12-151-6/+2
* Merge branch 'nd/cache-tree-api-refactor'Junio C Hamano2012-02-121-15/+12
|\
| * cache-tree: update API to take abitrary flagsnd/cache-tree-api-refactorNguyễn Thái Ngọc Duy2012-02-071-15/+12