diff --git a/src/libhacktree/hacktree-repo.c b/src/libhacktree/hacktree-repo.c index bddec68c..3d9ddd8d 100644 --- a/src/libhacktree/hacktree-repo.c +++ b/src/libhacktree/hacktree-repo.c @@ -706,7 +706,7 @@ parse_tree (HacktreeRepo *self, GVariant *metadata = NULL; ParsedDirectoryData *child_dir = NULL; - g_variant_get_child (files_variant, i, "(sss)", + g_variant_get_child (dirs_variant, i, "(sss)", &dirname, &tree_checksum, &meta_checksum); if (!parse_tree (self, tree_checksum, &child_tree, error))