Merge branch 'jk/pack-objects-reports-num-objects-to-trace2'
The "git pack-objects" command learned to report the number of objects it packed via the trace2 mechanism. * jk/pack-objects-reports-num-objects-to-trace2: pack-objects: write objects packed to trace2
This commit is contained in:
commit
3d67555744
@ -964,6 +964,8 @@ static void write_pack_file(void)
|
||||
if (written != nr_result)
|
||||
die(_("wrote %"PRIu32" objects while expecting %"PRIu32),
|
||||
written, nr_result);
|
||||
trace2_data_intmax("pack-objects", the_repository,
|
||||
"write_pack_file/wrote", nr_result);
|
||||
}
|
||||
|
||||
static int no_try_delta(const char *path)
|
||||
|
Loading…
Reference in New Issue
Block a user