commit: convert parts to struct object_id
commit7683e2e6e301835236539a33b2fba936dd1a0a2b
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 13 Mar 2015 23:39:34 +0000 (13 23:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 14 Mar 2015 05:43:13 +0000 (13 22:43 -0700)
tree12bdd9c1f7dce207a533cd1d54003528eb7cdc04
parent1ff57c13c54bc9d548178e012f77717f87f2655d
commit: convert parts to struct object_id

Convert struct commit_graft and necessary local parts of commit.c.
Also, convert several constants based on the hex length of an SHA-1 to
use GIT_SHA1_HEXSZ, and move several magic constants into variables for
readability.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c
commit.h
log-tree.c
send-pack.c
shallow.c
upload-pack.c