contrib/coccinelle: fix semantic patch for oid_to_hex_r()
commit76d156766fc9364ed2ce1b07f0867cbbdc5932f4
authorRené Scharfe <l.s.r@web.de>
Thu, 15 Sep 2016 18:30:52 +0000 (15 20:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2016 19:23:33 +0000 (15 12:23 -0700)
tree2e8743dd902257f800b2f21a3e8d9dee8739ec5b
parent91942260a2a8c8659450159dda73702f5cbda528
contrib/coccinelle: fix semantic patch for oid_to_hex_r()

Both sha1_to_hex_r() and oid_to_hex_r() take two parameters, so use two
expressions in the semantic patch for transforming calls of the former
to the latter one.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/coccinelle/object_id.cocci