summaryrefslogtreecommitdiff
path: root/cache-tree.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* write-tree --ignore-cache-treeJunio C Hamano2009-05-201-3/+7
* Move prime_cache_tree() to cache-tree.cJunio C Hamano2009-04-201-0/+34
* git add --intent-to-add: do not let an empty blob be committed by accidentJunio C Hamano2008-11-301-3/+7
* cache-tree.c: make cache_tree_find() staticNanako Shiraishi2008-07-161-1/+1
* Merge branch 'maint-1.5.4' into maintJunio C Hamano2008-04-241-2/+5
|\
| * write-tree: properly detect failure to write tree objectsJunio C Hamano2008-04-231-2/+5
* | Merge branch 'jc/error-message-in-cherry-pick'Junio C Hamano2008-02-111-0/+55
|\ \
| * | Make error messages from cherry-pick/revert more sensibleJunio C Hamano2008-02-051-0/+55
| |/
* | Make on-disk index representation separate from in-core oneLinus Torvalds2008-01-211-2/+2
|/
* Small cache_tree_write refactor.Pierre Habouzit2007-09-261-14/+5
* Now that cache.h needs strbuf.h, remove useless includes.Pierre Habouzit2007-09-161-1/+0
* Strbuf API extensions and fixes.Pierre Habouzit2007-09-101-3/+2
* Use strbuf API in cache-tree.cPierre Habouzit2007-09-061-37/+22
* Two trivial -Wcast-qual fixesJunio C Hamano2007-06-221-1/+1