Thread (1 message) 1 message, 1 author, 2020-08-02

Re: [RESEND PATCH] bisect: use oid_to_hex_r() instead of memcpy()+oid_to_hex()

From: Junio C Hamano <hidden>
Date: 2020-08-02 20:03:15

René Scharfe [off-list ref] writes:
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 <redacted>
Signed-off-by: René Scharfe <redacted>
---
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help