summaryrefslogtreecommitdiff
path: root/cache-tree.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Merge branch 'jc/maint-commit-ignore-i-t-a'Junio C Hamano2012-02-121-3/+3
|\ \ | |/ |/|
| * commit: ignore intent-to-add entries instead of refusingjc/maint-commit-ignore-i-t-aJunio C Hamano2012-02-071-3/+3
* | Refactor cache_tree_update idiom from commitThomas Rast2011-12-061-4/+15
|/
* cache_tree_free: Fix small memory leakElijah Newren2010-09-061-1/+3
* write-tree: Avoid leak when index refers to an invalid objectJonathan Nieder2010-08-111-1/+3
* Improve on the 'invalid object' error message at commit timeLinus Torvalds2009-07-141-1/+2
* Optimize "diff-index --cached" using cache-treeJunio C Hamano2009-05-251-0/+32
* cache-tree.c::cache_tree_find(): simplify internal APIJunio C Hamano2009-05-251-0/+2