get_oid_hex_segment(): return 0 on success
authorMichael Haggerty <redacted>
Sat, 26 Aug 2017 08:28:08 +0000 (10:28 +0200)
committerJunio C Hamano <redacted>
Sat, 26 Aug 2017 16:21:01 +0000 (09:21 -0700)
commit67c9b422513ac601c68c191a026af968a2838ae1
tree4bde2684e75e0c30c007405d147ff14955cd9064
parent404321879585b392118c9f4c3c4c9e4ccd6ba09f
get_oid_hex_segment(): return 0 on success

Nobody cares about the return value of get_oid_hex_segment() except to
check whether it failed. So just return 0 on success.

And while we're updating its docstring, update it for some argument
renaming that happened a while ago.

Signed-off-by: Michael Haggerty <redacted>
Signed-off-by: Junio C Hamano <redacted>
notes.c
git clone https://git.99rst.org/PROJECT