summaryrefslogtreecommitdiff
path: root/refs/packed-backend.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2021-08-16 14:09:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-08 11:47:59 -0700
commit78ca584f1c4a720988f6066693b4d2ccde920813 (patch)
treed485d5f3b452f3ec8aba7f17fb3d54861d43e3c7 /refs/packed-backend.h
parentgrep: typesafe versions of grep_source_init (diff)
downloadtgif-78ca584f1c4a720988f6066693b4d2ccde920813.tar.xz
grep: read submodule entry with explicit repo
Replace an existing parse_object_or_die() call (which implicitly works on the_repository) with a function call that allows a repository to be passed in. There is no such direct equivalent to parse_object_or_die(), but we only need the type of the object, so replace with oid_object_info(). Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Reviewed-by: Emily Shaffer <emilyshaffer@google.com> Reviewed-by: Matheus Tavares <matheus.bernardino@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/packed-backend.h')
0 files changed, 0 insertions, 0 deletions