object: add repository argument to grow_object_hash
commitc077a4526ba456ada28d16db9c945afd9a4a57de
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 8 May 2018 19:37:26 +0000 (8 12:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 May 2018 03:12:36 +0000 (9 12:12 +0900)
treea80571e6fde265d8f6b3a898c018665b87cfabba
parent68f95d382b51b134b138c91f94adb8d9ef2f557a
object: add repository argument to grow_object_hash

Add a repository argument to allow the caller of grow_object_hash to
be more specific about which repository to handle. This is a small
mechanical change; it doesn't change the implementation to handle
repositories other than the_repository yet.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.c