lib-submodule-update.sh: replace sha1 by hash
commit03c7e2a321f11ba75774a5ef5a3e75b2595e150b
authorStefan Beller <sbeller@google.com>
Tue, 14 Mar 2017 21:46:29 +0000 (14 14:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Mar 2017 01:15:53 +0000 (15 18:15 -0700)
tree8258c3cc02c5d0f0f528fd35b8a6ed922cc00344
parent2f70edccb4c424ded7dc9afa4da6b17e213a5f96
lib-submodule-update.sh: replace sha1 by hash

Cleaning up code by generalising it.
Currently the mailing list discusses yet again how
to migrate away from sha1.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-submodule-update.sh