]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/helper/test-reach.c
Merge branch 'ak/commit-graph-to-slab'
[thirdparty/git.git] / t / helper / test-reach.c
index a0272178b7791d4146cd196d402e666809753da1..ccf837cb33c08d052f624e6ef23bb282c36fb848 100644 (file)
@@ -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",