revision: rename add_pending_sha1 to add_pending_oid
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 6 May 2017 22:10:26 +0000 (22:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 06:12:58 +0000 (15:12 +0900)
commita58a1b01ff86465f503bf835a41c83e34be376ce
treeb15fb41dd8c909b608c99c17bf4ae1ca33e1a6e7
parent1aa40df6b15c1114264ba19897579cec9f063f30
revision: rename add_pending_sha1 to add_pending_oid

Rename this function and convert it to take a pointer to struct
object_id.

This is a prerequisite for converting get_reference, which is needed to
convert parse_object.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
builtin/checkout.c
revision.c
revision.h