summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-05-13 14:50:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-05-13 14:50:35 (GMT)
commit49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b (patch)
tree8d790839b59f34c417814aac4babd46429b7e366 /read-cache.c
parent40bef4992ea86b79fa80ebd7e6fd19fecdc5879b (diff)
parentc173542c84cdf5e71b393e91f9d9664a85f995b2 (diff)
downloadgit-49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b.zip
git-49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b.tar.gz
git-49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b.tar.bz2
Merge branch 'jh/trace2'
A few embarrassing bugfixes. * jh/trace2: trace2: fix up a missing "leave" entry point trace2: fix incorrect function pointer check
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 61b043b..4fad4e3 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -3131,7 +3131,7 @@ static int write_shared_index(struct index_state *istate,
trace2_region_enter_printf("index", "shared/do_write_index",
the_repository, "%s", (*temp)->filename.buf);
ret = do_write_index(si->base, *temp, 1);
- trace2_region_enter_printf("index", "shared/do_write_index",
+ trace2_region_leave_printf("index", "shared/do_write_index",
the_repository, "%s", (*temp)->filename.buf);
if (ret)