summaryrefslogtreecommitdiff
path: root/tree.c
Commit message (Expand)AuthorAgeFilesLines
* treewide: remove cache.h inclusion due to previous changesElijah Newren2023-04-241-1/+1
* cache,tree: move basic name compare functions from read-cache to treeElijah Newren2023-04-241-0/+68
* cache,tree: move cmp_cache_name_compare from tree.[ch] to read-cache.cElijah Newren2023-04-241-10/+0
* object-name.h: move declarations for object-name.c functions from cache.hElijah Newren2023-04-111-0/+1
* Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano2023-04-041-2/+3
|\
| * libs: use "struct repository *" argument, not "the_repository"Ævar Arnfjörð Bjarmason2023-03-281-1/+1
| * cocci: apply the "object-store.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason2023-03-281-1/+2
| * cocci: apply the "commit.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason2023-03-281-1/+1
* | cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren2023-02-231-0/+1
|/
* tree.h API: simplify read_tree_recursive() signatureÆvar Arnfjörð Bjarmason2021-03-201-12/+7
* tree.h API: expose read_tree_1() as read_tree_at()Ævar Arnfjörð Bjarmason2021-03-201-8/+9
* tree.c API: move read_tree() into builtin/ls-files.cÆvar Arnfjörð Bjarmason2021-03-201-89/+0
* tree: enable cmp_cache_name_compare() to be used elsewhereElijah Newren2020-12-131-1/+1
* object: drop parsed_object_pool->commit_countAbhishek Kumar2020-06-171-1/+1
* tree: simplify parse_tree_indirect()René Scharfe2019-09-031-15/+3
* object: convert create_object() to use object_idJeff King2019-06-201-2/+1
* object: convert lookup_object() to use object_idJeff King2019-06-201-1/+1
* Merge branch 'nd/the-index-final'Junio C Hamano2019-02-061-1/+0
|\
| * cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy2019-01-241-1/+0
* | Merge branch 'bc/tree-walk-oid'Junio C Hamano2019-01-291-5/+5
|\ \
| * | tree-walk: store object_id in a separate memberbrian m. carlson2019-01-151-5/+5
| |/
* | tree-walk.c: make tree_entry_interesting() take an indexNguyễn Thái Ngọc Duy2018-11-191-1/+2
* | tree.c: make read_tree*() take 'struct repository *'Nguyễn Thái Ngọc Duy2018-11-191-8/+10
|/
* Merge branch 'jm/cache-entry-from-mem-pool'Junio C Hamano2018-08-021-3/+1
|\
| * block alloc: add lifecycle APIs for cache_entry structsJameson Miller2018-07-031-3/+1
* | tree: allow lookup_tree to handle arbitrary repositoriesStefan Beller2018-06-291-5/+5
* | commit: add repository argument to lookup_commitStefan Beller2018-06-291-1/+1
* | tree: add repository argument to lookup_treeStefan Beller2018-06-291-2/+2
* | object: add repository argument to object_as_typeStefan Beller2018-06-291-1/+1
* | object: add repository argument to lookup_objectStefan Beller2018-06-291-1/+1
* | object: add repository argument to parse_objectStefan Beller2018-06-291-2/+3
* | Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano2018-06-291-0/+1
|\ \
| * | object-store: move object access functions to object-store.hStefan Beller2018-05-161-0/+1
* | | Merge branch 'sb/object-store-alloc'Junio C Hamano2018-06-251-1/+3
|\ \ \ | |/ / | | / | |/ |/|
| * alloc: allow arbitrary repositories for alloc functionsStefan Beller2018-05-161-0/+1
| * alloc: add repository argument to alloc_tree_nodeStefan Beller2018-05-091-1/+1
| * object: add repository argument to create_objectStefan Beller2018-05-091-1/+2
* | Merge branch 'ds/lazy-load-trees'Junio C Hamano2018-05-231-2/+2
|\ \ | |/ |/|
| * treewide: replace maybe_tree with accessor methodsDerrick Stolee2018-04-111-2/+2
| * treewide: rename tree to maybe_treeDerrick Stolee2018-04-111-2/+2
* | sha1_file: convert read_sha1_file to struct object_idbrian m. carlson2018-03-141-1/+1
* | tree: convert read_tree_recursive to struct object_idbrian m. carlson2018-03-141-7/+7
|/
* Merge branch 'ab/free-and-null'Junio C Hamano2017-06-241-2/+1
|\
| * coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-2/+1
* | tree: convert read_tree to take an index parameterBrandon Williams2017-06-131-10/+18
|/
* object: convert parse_object* to take struct object_idbrian m. carlson2017-05-081-2/+2
* tree: convert parse_tree_indirect to struct object_idbrian m. carlson2017-05-081-2/+2
* Convert lookup_tree to struct object_idbrian m. carlson2017-05-081-4/+4
* tree: convert read_tree_1 to use struct object_id internallybrian m. carlson2017-05-081-4/+4
* Convert lookup_commit* to struct object_idbrian m. carlson2017-05-081-1/+1