builtin/am: convert to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 5 Sep 2016 20:08:09 +0000 (20:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 19:59:43 +0000 (12:59 -0700)
commit8c88769ba422e451fb50eb2ea843233580befed4
tree2cc9a4d489043e9a5ee27a49afbc90c746c47fe2
parent8f6dc7e32eee2944d1490ff9bf12ec329f3b33c2
builtin/am: convert to struct object_id

Convert uses of unsigned char [20] to struct object_id.  Rename the
generically-named "ptr" to "old_oid" and make it const.

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