aboutsummaryrefslogtreecommitdiffstats
path: root/cache-tree.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-18Merge branch 'rm/strchrnul-not-strlen'Junio C Hamano1-4/+3
2014-03-18Merge branch 'mh/simplify-cache-tree-find'Junio C Hamano1-10/+7
2014-03-10use strchrnul() in place of strchr() and strlen()Rohit Mani1-9/+6
2014-03-05cache_tree_find(): use path variable when passing over slashesMichael Haggerty1-2/+3
2014-03-05cache_tree_find(): remove early returnMichael Haggerty1-2/+0
2014-03-05cache_tree_find(): remove redundant checkMichael Haggerty1-1/+1
2014-03-05cache_tree_find(): fix comment formattingMichael Haggerty1-2/+3
2014-03-05cache_tree_find(): find the end of path component using strchrnul()Michael Haggerty1-3/+1
2014-03-05cache_tree_find(): remove redundant checksMichael Haggerty1-4/+3
2014-03-03cache-tree.c: use ALLOC_GROW() in find_subtree()Dmitry S. Dolzhenko1-5/+1
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-9/+10
2012-12-15cache-tree: invalidate i-t-a paths after generating treesNguyễn Thái Ngọc Duy1-2/+12
2012-12-15cache-tree: fix writing cache-tree when CE_REMOVE is presentNguyễn Thái Ngọc Duy1-7/+23
2012-12-15cache-tree: replace "for" loops in update_one with "while" loopsNguyễn Thái Ngọc Duy1-5/+10
2012-12-15cache-tree: remove dead i-t-a code in verify_cache()Nguyễn Thái Ngọc Duy1-6/+2
2012-02-12Merge branch 'nd/cache-tree-api-refactor'Junio C Hamano1-15/+12
2012-02-12Merge branch 'jc/maint-commit-ignore-i-t-a'Junio C Hamano1-3/+3
2012-02-07cache-tree: update API to take abitrary flagsNguyễn Thái Ngọc Duy1-15/+12
2012-02-07commit: ignore intent-to-add entries instead of refusingJunio C Hamano1-3/+3
2011-12-06Refactor cache_tree_update idiom from commitThomas Rast1-4/+15
2010-09-06cache_tree_free: Fix small memory leakElijah Newren1-1/+3
2010-08-11write-tree: Avoid leak when index refers to an invalid objectJonathan Nieder1-1/+3
2009-07-14Improve on the 'invalid object' error message at commit timeLinus Torvalds1-1/+2
2009-05-25Optimize "diff-index --cached" using cache-treeJunio C Hamano1-0/+32
2009-05-25cache-tree.c::cache_tree_find(): simplify internal APIJunio C Hamano1-0/+2
2009-05-20write-tree --ignore-cache-treeJunio C Hamano1-3/+7
2009-04-20Move prime_cache_tree() to cache-tree.cJunio C Hamano1-0/+34
2008-11-30git add --intent-to-add: do not let an empty blob be committed by accidentJunio C Hamano1-3/+7
2008-07-16cache-tree.c: make cache_tree_find() staticNanako Shiraishi1-1/+1
2008-04-24Merge branch 'maint-1.5.4' into maintJunio C Hamano1-2/+5
2008-04-23write-tree: properly detect failure to write tree objectsJunio C Hamano1-2/+5
2008-02-11Merge branch 'jc/error-message-in-cherry-pick'Junio C Hamano1-0/+55
2008-02-05Make error messages from cherry-pick/revert more sensibleJunio C Hamano1-0/+55
2008-01-21Make on-disk index representation separate from in-core oneLinus Torvalds1-2/+2
2007-09-26Small cache_tree_write refactor.Pierre Habouzit1-14/+5
2007-09-16Now that cache.h needs strbuf.h, remove useless includes.Pierre Habouzit1-1/+0
2007-09-10Strbuf API extensions and fixes.Pierre Habouzit1-3/+2
2007-09-06Use strbuf API in cache-tree.cPierre Habouzit1-37/+22
2007-06-22Two trivial -Wcast-qual fixesJunio C Hamano1-1/+1
2007-05-21rename dirlink to gitlink.Martin Waitz1-1/+1
2007-04-10Teach core object handling functions about gitlinksLinus Torvalds1-1/+1
2006-11-13Catch errors when writing an index that contains invalid objects.Johannes Sixt1-0/+2
2006-10-30Surround "#define DEBUG 0" with "#ifndef DEBUG..#endif"Junio C Hamano1-0/+2
2006-10-14Add hash_sha1_file()Rene Scharfe1-6/+2
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-3/+3
2006-05-07Merge branch 'jc/gitlink' into nextJunio C Hamano1-0/+26
2006-05-03cache-tree: a bit more debugging support.Junio C Hamano1-2/+6
2006-05-01write-tree: --prefix=<path>Junio C Hamano1-0/+26
2006-05-01cache-tree: replace a sscanf() by two strtol() callsJohannes Schindelin1-1/+10
2006-04-27cache-tree.c: typefixJunio C Hamano1-1/+1
2006-04-27cache_tree_update: give an option to update cache-tree only.Junio C Hamano1-5/+15
2006-04-27read-tree: teach 1-way merege and plain read to prime cache-tree.Junio C Hamano1-3/+8
2006-04-25cache-tree: sort the subtree entries.Junio C Hamano1-26/+66
2006-04-24index: make the index file format extensible.Junio C Hamano1-82/+26
2006-04-24cache-tree: protect against "git prune".Junio C Hamano1-1/+1
2006-04-23Add cache-tree.Junio C Hamano1-0/+519