summaryrefslogtreecommitdiff
path: root/cache-tree.c
AgeCommit message (Expand)AuthorFilesLines
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
2010-09-06cache_tree_free: Fix small memory leakLibravatar Elijah Newren1-1/+3
2010-08-11write-tree: Avoid leak when index refers to an invalid objectLibravatar Jonathan Nieder1-1/+3
2009-07-14Improve on the 'invalid object' error message at commit timeLibravatar Linus Torvalds1-1/+2
2009-05-25Optimize "diff-index --cached" using cache-treeLibravatar Junio C Hamano1-0/+32
2009-05-25cache-tree.c::cache_tree_find(): simplify internal APILibravatar Junio C Hamano1-0/+2
2009-05-20write-tree --ignore-cache-treeLibravatar Junio C Hamano1-3/+7
2009-04-20Move prime_cache_tree() to cache-tree.cLibravatar Junio C Hamano1-0/+34
2008-11-30git add --intent-to-add: do not let an empty blob be committed by accidentLibravatar Junio C Hamano1-3/+7
2008-07-16cache-tree.c: make cache_tree_find() staticLibravatar Nanako Shiraishi1-1/+1
2008-04-24Merge branch 'maint-1.5.4' into maintLibravatar Junio C Hamano1-2/+5
2008-04-23write-tree: properly detect failure to write tree objectsLibravatar Junio C Hamano1-2/+5
2008-02-11Merge branch 'jc/error-message-in-cherry-pick'Libravatar Junio C Hamano1-0/+55
2008-02-05Make error messages from cherry-pick/revert more sensibleLibravatar Junio C Hamano1-0/+55
2008-01-21Make on-disk index representation separate from in-core oneLibravatar Linus Torvalds1-2/+2
2007-09-26Small cache_tree_write refactor.Libravatar Pierre Habouzit1-14/+5
2007-09-16Now that cache.h needs strbuf.h, remove useless includes.Libravatar Pierre Habouzit1-1/+0
2007-09-10Strbuf API extensions and fixes.Libravatar Pierre Habouzit1-3/+2
2007-09-06Use strbuf API in cache-tree.cLibravatar Pierre Habouzit1-37/+22