Skip to content

Commit

Permalink
trace2:gvfs:experiment: prime_cache_tree
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
  • Loading branch information
jeffhostetler authored and dscho committed Jun 8, 2019
1 parent 1dcb187 commit 2023a0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ static int reset_index(const struct object_id *oid, int reset_type, int quiet)

if (reset_type == MIXED || reset_type == HARD) {
tree = parse_tree_indirect(oid);
trace2_region_enter("exp", "prime_cache_tree", the_repository);
prime_cache_tree(the_repository, the_repository->index, tree);
trace2_region_leave("exp", "prime_cache_tree", the_repository);
}

ret = 0;
Expand Down

0 comments on commit 2023a0c

Please sign in to comment.