Thread (1 message) 1 message, 1 author, 2017-09-27

Re: [PATCH 2/3] validate_headref: use skip_prefix for symref parsing

From: Junio C Hamano <hidden>
Date: 2017-09-27 07:07:22

Jeff King [off-list ref] writes:
Since the previous commit guarantees that our symref buffer
is NUL-terminated, we can just use skip_prefix() and friends
to parse it. This is shorter and saves us having to deal
with magic numbers and keeping the "len" counter up to date.
Ah, I should have read the whole thing before starting to type a
response to 1/3 ;-)

Looks good.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help