Commit Graph

122 Commits (master)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 47957485b3 tree.h API: simplify read_tree_recursive() signature 2 years ago
Ævar Arnfjörð Bjarmason 6c9fc42e9f tree.h API: expose read_tree_1() as read_tree_at() 2 years ago
Ævar Arnfjörð Bjarmason eefadd18e1 tree.c API: move read_tree() into builtin/ls-files.c 2 years ago
Elijah Newren 70912f66de tree: enable cmp_cache_name_compare() to be used elsewhere 2 years ago
Abhishek Kumar 6da43d937c object: drop parsed_object_pool->commit_count 2 years ago
René Scharfe 1577dc0f7c tree: simplify parse_tree_indirect() 3 years ago
Jeff King a378509e1c object: convert create_object() to use object_id 3 years ago
Jeff King d0229abd93 object: convert lookup_object() to use object_id 3 years ago
Nguyễn Thái Ngọc Duy f8adbec9fe cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch 4 years ago
brian m. carlson ea82b2a085 tree-walk: store object_id in a separate member 4 years ago
Nguyễn Thái Ngọc Duy 67022e0214 tree-walk.c: make tree_entry_interesting() take an index 4 years ago
Nguyễn Thái Ngọc Duy e092073d64 tree.c: make read_tree*() take 'struct repository *' 4 years ago
Jameson Miller a849735bfb block alloc: add lifecycle APIs for cache_entry structs 4 years ago
Stefan Beller f58a6cb602 tree: allow lookup_tree to handle arbitrary repositories 4 years ago
Stefan Beller c1f5eb4962 commit: add repository argument to lookup_commit 4 years ago
Stefan Beller f86bcc7b2c tree: add repository argument to lookup_tree 4 years ago
Stefan Beller 1268dfac1e object: add repository argument to object_as_type 4 years ago
Stefan Beller 5abddd1eb7 object: add repository argument to lookup_object 4 years ago
Stefan Beller 109cd76dd3 object: add repository argument to parse_object 4 years ago
Stefan Beller cbd53a2193 object-store: move object access functions to object-store.h 4 years ago
Stefan Beller 14ba97f81c alloc: allow arbitrary repositories for alloc functions 4 years ago
Stefan Beller cf7203bdc6 alloc: add repository argument to alloc_tree_node 4 years ago
Stefan Beller 68f95d382b object: add repository argument to create_object 4 years ago
Derrick Stolee 2e27bd7731 treewide: replace maybe_tree with accessor methods 5 years ago
Derrick Stolee 891435d55d treewide: rename tree to maybe_tree 5 years ago
brian m. carlson b4f5aca40e sha1_file: convert read_sha1_file to struct object_id 5 years ago
brian m. carlson df46d77e00 tree: convert read_tree_recursive to struct object_id 5 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 5 years ago
Brandon Williams 85ab50f938 tree: convert read_tree to take an index parameter 5 years ago
brian m. carlson c251c83df2 object: convert parse_object* to take struct object_id 5 years ago
brian m. carlson a9dbc17910 tree: convert parse_tree_indirect to struct object_id 5 years ago
brian m. carlson 740ee055c6 Convert lookup_tree to struct object_id 5 years ago
brian m. carlson f26efc58c8 tree: convert read_tree_1 to use struct object_id internally 5 years ago
brian m. carlson bc83266abe Convert lookup_commit* to struct object_id 5 years ago
René Scharfe 9ed0d8d6e6 use QSORT 6 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 6 years ago
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 7 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 7 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 7 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 7 years ago
Jeff King 9cc2b07a7c add quieter versions of parse_{tree,commit} 7 years ago
Nguyễn Thái Ngọc Duy 6a0b0b6de9 tree.c: update read_tree_recursive callback to pass strbuf as base 8 years ago
Jeff King c4ad00f8cc add object_as_type helper for casting objects 8 years ago
Jeff King fe24d396e1 move setting of object->type to alloc_* functions 8 years ago
Jeff King 8ff226a9d5 add object_as_type helper for casting objects 8 years ago
Jeff King d36f51c13b move setting of object->type to alloc_* functions 8 years ago
Nguyễn Thái Ngọc Duy 18e4f40599 checkout: convert read_tree_some to take struct pathspec 9 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 9 years ago
Jeff King 6e454b9a31 clear parsed flag when we free tree buffers 9 years ago
Thomas Gummerer b60e188c51 Strip namelen out of ce_flags into a ce_namelen field 10 years ago