diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2023-03-28 15:58:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-28 16:36:45 +0200 |
commit | bc726bd075929aab6b3e09d4dd5c2b0726fd5350 (patch) | |
tree | 8e4337a056037e0950944c1046c6f90d0d615bbb /bundle.c | |
parent | cocci: apply the "diff.h" part of "the_repository.pending" (diff) | |
download | git-bc726bd075929aab6b3e09d4dd5c2b0726fd5350.tar.xz git-bc726bd075929aab6b3e09d4dd5c2b0726fd5350.zip |
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 'bundle.c')
-rw-r--r-- | bundle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ static int is_tag_in_date_range(struct object *tag, struct rev_info *revs) if (revs->max_age == -1 && revs->min_age == -1) goto out; - buf = read_object_file(&tag->oid, &type, &size); + buf = repo_read_object_file(the_repository, &tag->oid, &type, &size); if (!buf) goto out; line = memmem(buf, size, "\ntagger ", 8); |