зеркало из https://github.com/microsoft/git.git
pack-objects: write objects packed to trace2
This is useful when investigating performance of pushes, and other times when no progress information is written (because the pack is written to stdout). Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
e35b8cb8e2
Коммит
9ed8790282
|
@ -964,6 +964,8 @@ static void write_pack_file(void)
|
||||||
if (written != nr_result)
|
if (written != nr_result)
|
||||||
die(_("wrote %"PRIu32" objects while expecting %"PRIu32),
|
die(_("wrote %"PRIu32" objects while expecting %"PRIu32),
|
||||||
written, nr_result);
|
written, nr_result);
|
||||||
|
trace2_data_intmax("pack-objects", the_repository,
|
||||||
|
"write_pack_file/wrote", nr_result);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int no_try_delta(const char *path)
|
static int no_try_delta(const char *path)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче