summaryrefslogtreecommitdiff
path: root/cache-tree.c
Commit message (Expand)AuthorAgeFilesLines
* cache-tree: use is_empty_tree_oidbrian m. carlson2018-05-021-1/+1
* cache: add a function to read an object ID from a bufferbrian m. carlson2018-05-021-1/+1
* cache-tree: convert remnants to struct object_idbrian m. carlson2018-03-141-14/+15
* cache-tree: convert write_*_as_tree to object_idbrian m. carlson2018-03-141-5/+5
* Merge branch 'po/object-id'Junio C Hamano2018-02-151-8/+8
|\
| * sha1_file: convert write_sha1_file to object_idPatryk Obara2018-01-301-2/+3
| * sha1_file: convert hash_sha1_file to object_idPatryk Obara2018-01-301-6/+5
* | Merge branch 'sg/cocci-move-array'Junio C Hamano2018-02-131-3/+2
|\ \
| * | Use MOVE_ARRAYsg/cocci-move-arraySZEDER Gábor2018-01-221-3/+2
| |/
* | Merge branch 'tg/split-index-fixes'Junio C Hamano2018-02-131-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