summaryrefslogtreecommitdiff
path: root/builtin/grep.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-09-05 21:55:55 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-05 14:10:18 -0700
commitdad3f0607bf1c864f80723ab20b39527260f2c4f (patch)
tree6244ac7c9264fa111df3523c8c384bb395abd98c /builtin/grep.c
parentFirst batch after Git 2.23 (diff)
downloadtgif-dad3f0607bf1c864f80723ab20b39527260f2c4f.tar.xz
tag: factor out get_tagged_oid()
Add a function for accessing the ID of the object referenced by a tag safely, i.e. without causing a segfault when encountering a broken tag where ->tagged is NULL. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/grep.c')
0 files changed, 0 insertions, 0 deletions