Message ID | a5d19148460decaf08e0e6293e996d42ff3f2d32.1596728921.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Maintenance I: Command, gc and commit-graph tasks | expand |
diff --git a/builtin/gc.c b/builtin/gc.c index 20d85f6f4e..8162bca974 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -953,10 +953,12 @@ static int maintenance_run(struct maintenance_opts *opts) !tasks[i].auto_condition())) continue; + trace2_region_enter("maintenance", tasks[i].name, r); if (tasks[i].fn(opts)) { error(_("task '%s' failed"), tasks[i].name); result = 1; } + trace2_region_leave("maintenance", tasks[i].name, r); } rollback_lock_file(&lk);