summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-07 05:09:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-07 05:09:14 (GMT)
commitd80bea479daa1d49a6b2332c4731e2647c896c29 (patch)
treec847e5c1a66a9a9e72d3b4afb3dae893081a70ca /t/helper
parent0cc4dcacb323cfd1cfe6e6a750ecc86eb215180d (diff)
parentc752ad09c4ea479e8d54d08637cc0e5709723208 (diff)
downloadgit-d80bea479daa1d49a6b2332c4731e2647c896c29.zip
git-d80bea479daa1d49a6b2332c4731e2647c896c29.tar.gz
git-d80bea479daa1d49a6b2332c4731e2647c896c29.tar.bz2
Merge branch 'ak/commit-graph-to-slab'
A few fields in "struct commit" that do not have to always be present have been moved to commit slabs. * ak/commit-graph-to-slab: commit-graph: minimize commit_graph_data_slab access commit: move members graph_pos, generation to a slab commit-graph: introduce commit_graph_data_slab object: drop parsed_object_pool->commit_count
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-reach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-reach.c b/t/helper/test-reach.c
index a027217..ccf837c 100644
--- a/t/helper/test-reach.c
+++ b/t/helper/test-reach.c
@@ -67,7 +67,7 @@ int cmd__reach(int ac, const char **av)
die("failed to load commit for input %s resulting in oid %s\n",
buf.buf, oid_to_hex(&oid));
- c = object_as_type(r, peeled, OBJ_COMMIT, 0);
+ c = object_as_type(peeled, OBJ_COMMIT, 0);
if (!c)
die("failed to load commit for input %s resulting in oid %s\n",