Skip to content

Commit

Permalink
fixup! trace2:gvfs:experiment: prime_cache_tree
Browse files Browse the repository at this point in the history
This reverts commit 2023a0c.

Reverting in favor of moving the tracing into the prime_cache_tree
function rather than the single caller in this commit.
  • Loading branch information
jeffhostetler committed Jul 10, 2019
1 parent 87a148b commit 050b8ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions builtin/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ 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 050b8ff

Please sign in to comment.