]> granicus.if.org Git - git/commit
get_remote_heads: convert to struct object_id
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 10 Nov 2015 02:22:23 +0000 (02:22 +0000)
committerJeff King <peff@peff.net>
Fri, 20 Nov 2015 13:02:05 +0000 (08:02 -0500)
commite96b16cc2a1920ab8349a58e2501a3d30818f9e9
treebafc0592a94899467da6807c9de9e469fbd952a8
parent8338c911d1c22a6d86d694003a1fa213cbe11bcf
get_remote_heads: convert to struct object_id

Replace an unsigned char array with struct object_id and express several
hard-coded constants in terms of GIT_SHA1_HEXSZ.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Jeff King <peff@peff.net>
connect.c