]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/mktree.c
builtin/mktree: convert to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 12 Mar 2018 02:27:41 +0000 (02:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 16:23:49 +0000 (09:23 -0700)
commit83eb08020cbce4f6dff93e6b67ce635a3cd657f0
tree315ca1445c0cf28ab3adaf1f2570274eafd8796c
parentef7b5195f1ee8ceef41fb2f03a46248ad7747d69
builtin/mktree: convert to struct object_id

Convert this file to use struct object_id.  Modify one use of
get_sha1_hex into parse_oid_hex; this is safe since we get the data from
a strbuf.

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