diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-03-28 13:58:50 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-28 14:36:45 (GMT) |
commit | bc726bd075929aab6b3e09d4dd5c2b0726fd5350 (patch) | |
tree | 8e4337a056037e0950944c1046c6f90d0d615bbb /builtin/unpack-file.c | |
parent | 085390328f5fe1dfba67039b1fd6cc51546a4e41 (diff) | |
download | git-bc726bd075929aab6b3e09d4dd5c2b0726fd5350.zip git-bc726bd075929aab6b3e09d4dd5c2b0726fd5350.tar.gz git-bc726bd075929aab6b3e09d4dd5c2b0726fd5350.tar.bz2 |
cocci: apply the "object-store.h" part of "the_repository.pending"
Apply the part of "the_repository.pending.cocci" pertaining to
"object-store.h".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/unpack-file.c')
-rw-r--r-- | builtin/unpack-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/unpack-file.c b/builtin/unpack-file.c index e0d5178..9d5c152 100644 --- a/builtin/unpack-file.c +++ b/builtin/unpack-file.c @@ -10,7 +10,7 @@ static char *create_temp_file(struct object_id *oid) unsigned long size; int fd; - buf = read_object_file(oid, &type, &size); + buf = repo_read_object_file(the_repository, oid, &type, &size); if (!buf || type != OBJ_BLOB) die("unable to read blob object %s", oid_to_hex(oid)); |