Merge branch 'jh/trace2'
[gitweb.git] / read-cache.c
index 61b043bac3f2e26088177d13adc5ee5fe5e5c2e7..4fad4e3f9ab004c85c0b2614b4d0637809d7e1b8 100644 (file)
@@ -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)