alloc: add repository argument to alloc_report
commit17bfe87369a726ebf3b1156ffd38c014bbd67e88
authorStefan Beller <sbeller@google.com>
Tue, 8 May 2018 19:37:32 +0000 (8 12:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 May 2018 03:12:36 +0000 (9 12:12 +0900)
tree2f3cf7b22d4e8620679f32340a7a83078e043816
parent13e3fdcb767fe860953f8c27eb1985bd5d15674d
alloc: add repository argument to alloc_report

This is a small mechanical change; it doesn't change the
implementation to handle repositories other than the_repository yet.
Use a macro to catch callers passing a repository other than
the_repository at compile time.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
alloc.c
cache.h