summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/2.19.5.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2020-07-28 23:40:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-28 15:26:12 -0700
commit98c6871fad0be42fbe045de2338d0a5bdbc5af1d (patch)
tree76bb02be2357440e4c8f383e388da0e2bbfe20bc /Documentation/RelNotes/2.19.5.txt
parentGit 2.27 (diff)
downloadtgif-98c6871fad0be42fbe045de2338d0a5bdbc5af1d.tar.xz
grep: avoid using oid_to_hex() with parse_object_or_die()
parse_object_or_die() is passed an object ID and a name to show if the object cannot be parsed. If the name is NULL then it shows the hexadecimal object ID. Use that feature instead of preparing and passing the hexadecimal representation to the function proactively. That's shorter and a bit more efficient. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.19.5.txt')
0 files changed, 0 insertions, 0 deletions