77 Commits (0af85f84bd6d1755b3b8559ccfd99383c2928ac3)

Author SHA1 Message Date
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 8 years ago
Nguyễn Thái Ngọc Duy 6d6a782fbf cache-tree: do not generate empty trees as a result of all i-t-a subentries 9 years ago
Nguyễn Thái Ngọc Duy c041d54a74 cache-tree.c: fix i-t-a entry skipping directory updates sometimes 9 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
Nguyễn Thái Ngọc Duy 895ff3b2c7 add and use a convenience macro ce_intent_to_add() 9 years ago
Paul Tan d23a5117f8 cache-tree: introduce write_index_as_tree() 10 years ago
Jeff King 729dbbd9fc cache-tree: avoid infinite loop on zero-entry tree 10 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 10 years ago
Junio C Hamano 4ed115e9c5 cache-tree: do not try to use an invalidated subtree info to build a tree 10 years ago
David Turner aecf567cbf cache-tree: create/update cache-tree on checkout 11 years ago
Nguyễn Thái Ngọc Duy e6c286e8b2 cache-tree: mark istate->cache_changed on prime_cache_tree() 11 years ago
Nguyễn Thái Ngọc Duy d0cfc3e866 cache-tree: mark istate->cache_changed on cache tree update 11 years ago
Nguyễn Thái Ngọc Duy a5400efe29 cache-tree: mark istate->cache_changed on cache tree invalidation 11 years ago
Nguyễn Thái Ngọc Duy 03b8664772 read-cache: new API write_locked_index instead of write_index/write_cache 11 years ago
Rohit Mani 2c5495f7b6 use strchrnul() in place of strchr() and strlen() 11 years ago
Michael Haggerty 3491047e14 cache_tree_find(): use path variable when passing over slashes 11 years ago
Michael Haggerty 8b7e5f7972 cache_tree_find(): remove early return 11 years ago
Michael Haggerty 03b0403b4a cache_tree_find(): remove redundant check 11 years ago
Michael Haggerty 79192b87ad cache_tree_find(): fix comment formatting 11 years ago
Michael Haggerty 17e22ddc1c cache_tree_find(): find the end of path component using strchrnul() 11 years ago
Michael Haggerty 72c378d8a6 cache_tree_find(): remove redundant checks 11 years ago
Dmitry S. Dolzhenko bcc7a03285 cache-tree.c: use ALLOC_GROW() in find_subtree() 11 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 12 years ago
Nguyễn Thái Ngọc Duy eec3e7e406 cache-tree: invalidate i-t-a paths after generating trees 12 years ago
Nguyễn Thái Ngọc Duy 3cf773e426 cache-tree: fix writing cache-tree when CE_REMOVE is present 12 years ago
Nguyễn Thái Ngọc Duy 386cc8b031 cache-tree: replace "for" loops in update_one with "while" loops 12 years ago
Nguyễn Thái Ngọc Duy dbc3904ebc cache-tree: remove dead i-t-a code in verify_cache() 12 years ago
Nguyễn Thái Ngọc Duy e859c69b26 cache-tree: update API to take abitrary flags 13 years ago
Junio C Hamano 3f6d56de5f commit: ignore intent-to-add entries instead of refusing 13 years ago
Thomas Rast 996277c520 Refactor cache_tree_update idiom from commit 13 years ago
Elijah Newren e92fa514a9 cache_tree_free: Fix small memory leak 15 years ago
Jonathan Nieder b6b56aceb8 write-tree: Avoid leak when index refers to an invalid object 15 years ago
Linus Torvalds a38837341c Improve on the 'invalid object' error message at commit time 16 years ago
Junio C Hamano b65982b608 Optimize "diff-index --cached" using cache-tree 16 years ago
Junio C Hamano b87fc96476 cache-tree.c::cache_tree_find(): simplify internal API 16 years ago
Junio C Hamano d11b8d3425 write-tree --ignore-cache-tree 16 years ago
Junio C Hamano b9d37a5420 Move prime_cache_tree() to cache-tree.c 16 years ago
Junio C Hamano 331fcb598e git add --intent-to-add: do not let an empty blob be committed by accident 16 years ago
Nanako Shiraishi 7ba04d9f37 cache-tree.c: make cache_tree_find() static 17 years ago
Junio C Hamano edae5f0c20 write-tree: properly detect failure to write tree objects 17 years ago
Junio C Hamano 45525bd022 Make error messages from cherry-pick/revert more sensible 17 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 17 years ago
Pierre Habouzit 1dffb8fa80 Small cache_tree_write refactor. 18 years ago
Pierre Habouzit ba3ed09728 Now that cache.h needs strbuf.h, remove useless includes. 18 years ago
Pierre Habouzit f1696ee398 Strbuf API extensions and fixes. 18 years ago
Pierre Habouzit 5242bcbb63 Use strbuf API in cache-tree.c 18 years ago
Junio C Hamano 63daae47e5 Two trivial -Wcast-qual fixes 18 years ago