builtin/rev-parse: convert to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 1 May 2017 02:29:02 +0000 (02:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 May 2017 01:48:02 +0000 (10:48 +0900)
commit8bc095f7d5b847501e06e8bc1eafc50a314b99b9
treea79b19810e28ddf5c4cc8f07a8ff384dcfb769b0
parent4931b02f4ab6cbffc39feca95a055ce1a92a20f9
builtin/rev-parse: convert to struct object_id

Some of the functions converted are callers of lookup_commit_reference.
However, the changes involved in converting the entire thing are not too
large, so we might as well convert it all.

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