object: add repository argument to create_object
commit68f95d382b51b134b138c91f94adb8d9ef2f557a
authorStefan Beller <sbeller@google.com>
Tue, 8 May 2018 19:37:25 +0000 (8 12:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 May 2018 03:12:36 +0000 (9 12:12 +0900)
tree3dba7b85cccb8f7e4911fabcb7fa87ad98612fa3
parent99bf115c879af7e38ef0ca9596fc9db1d6598d5f
object: add repository argument to create_object

Add a repository argument to allow the callers of create_object
to be more specific about which repository to act on. 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>
blob.c
commit.c
object.c
object.h
tag.c
tree.c