submodule: convert check_for_new_submodule_commits to object_id
commit2eb80bcdcc2d16ff1e73dc2f2171f7f1ef6e9f29
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 26 Mar 2017 16:01:35 +0000 (26 16:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2017 16:59:34 +0000 (28 09:59 -0700)
tree12548f87cde97140ebbb089c3ed55ee863586573
parentd2b7d9c7edc549e7ec19f4a7681adc7bfbaa6b89
submodule: convert check_for_new_submodule_commits to object_id

All of the callers of this function have been converted, so convert this
function and update the callers.  This function also calls
sha1_array_append, which we'll convert shortly.

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