summaryrefslogtreecommitdiff
path: root/t/t0062-revision-walking.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2020-08-02 16:36:50 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-02 13:02:52 -0700
commit7d23ff818f156da48882bec9ac84fb4e33dd619a (patch)
tree8f98bba99efd6d24a75bf3a8ecd342759eddbf4c /t/t0062-revision-walking.sh
parentGit 2.27 (diff)
downloadtgif-7d23ff818f156da48882bec9ac84fb4e33dd619a.tar.xz
bisect: use oid_to_hex_r() instead of memcpy()+oid_to_hex()
Write the hexadecimal object ID directly into the destination buffer using oid_to_hex_r() instead of writing it into a static buffer first using oid_to_hex() and then copying it from there using memcpy(). This is shorter, simpler and a bit more efficient. Reviewed-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0062-revision-walking.sh')
0 files changed, 0 insertions, 0 deletions