aboutsummaryrefslogtreecommitdiffstats
path: root/cache-tree.c
AgeCommit message (Expand)AuthorFilesLines
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-03-14cache-tree: convert remnants to struct object_idbrian m. carlson1-14/+15
2018-03-14cache-tree: convert write_*_as_tree to object_idbrian m. carlson1-5/+5
2018-02-15Merge branch 'po/object-id'Junio C Hamano1-8/+8
2018-02-13Merge branch 'sg/cocci-move-array'Junio C Hamano1-3/+2
2018-02-13Merge branch 'tg/split-index-fixes'Junio C Hamano1-1/+1
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-2/+3
2018-01-30sha1_file: convert hash_sha1_file to object_idPatryk Obara1-6/+5
2018-01-22Use MOVE_ARRAYSZEDER Gábor1-3/+2
2018-01-19read-cache: fix reading the shared index for other reposThomas Gummerer1-1/+1
2017-11-06Merge branch 'ma/lockfile-fixes'Junio C Hamano1-8/+4
2017-10-10cleanup: fix possible overflow errors in binary searchDerrick Stolee1-1/+1
2017-10-06cache-tree: simplify locking logicMartin Ågren1-8/+4
2017-09-06stop leaking lock structs in some simple casesJeff King1-10/+4
2017-09-06write_index_as_tree: cleanup tempfile on errorJeff King1-8/+15
2017-07-17use MOVE_ARRAYRené Scharfe1-3/+2
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-16/+17
2017-05-08Convert lookup_tree to struct object_idbrian m. carlson1-1/+1
2017-05-02Convert struct cache_tree to use struct object_idbrian m. carlson1-15/+16
2017-04-23cache-tree: reject entries with null sha1Jeff King1-1/+3
2016-09-07cache: convert struct cache_entry to use struct object_idbrian m. carlson1-2/+2
2016-07-18cache-tree: do not generate empty trees as a result of all i-t-a subentriesNguyễn Thái Ngọc Duy1-1/+9
2016-07-18cache-tree.c: fix i-t-a entry skipping directory updates sometimesNguyễn Thái Ngọc Duy1-2/+2
2016-04-25struct name_entry: use struct object_id instead of unsigned char sha1[20]brian m. carlson1-2/+2
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-3/+1
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King1-3/+1
2016-01-20Merge branch 'nd/ita-cleanup'Junio C Hamano1-1/+1
2015-11-20Remove get_object_hash.brian m. carlson1-1/+1
2015-11-20Add several uses of get_object_hash.brian m. carlson1-1/+1
2015-09-06add and use a convenience macro ce_intent_to_add()Nguyễn Thái Ngọc Duy1-1/+1
2015-08-04cache-tree: introduce write_index_as_tree()Paul Tan1-12/+17
2014-11-06Merge branch 'jk/cache-tree-protect-from-broken-libgit2'Junio C Hamano1-0/+2
2014-10-30cache-tree: avoid infinite loop on zero-entry treeJeff King1-0/+2
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-09-11Merge branch 'dt/cache-tree-repair'Junio C Hamano1-2/+17
2014-09-03cache-tree: do not try to use an invalidated subtree info to build a treeJunio C Hamano1-1/+6
2014-07-07cache-tree: create/update cache-tree on checkoutDavid Turner1-1/+11
2014-06-13cache-tree: mark istate->cache_changed on prime_cache_tree()Nguyễn Thái Ngọc Duy1-4/+5
2014-06-13cache-tree: mark istate->cache_changed on cache tree updateNguyễn Thái Ngọc Duy1-14/+11
2014-06-13cache-tree: mark istate->cache_changed on cache tree invalidationNguyễn Thái Ngọc Duy1-4/+11
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy1-2/+1
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