sha1_file: make read_info_alternates static
commit2456990dfd93dee6d1906d774db112056534b57b
authorStefan Beller <sbeller@google.com>
Tue, 15 Aug 2017 20:13:19 +0000 (15 13:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Aug 2017 21:39:25 +0000 (15 14:39 -0700)
tree77e29099725f97489df2447d834a4ce5c9c94609
parenta5b34d21521c015cd41ced4a3fdde57d79891eb3
sha1_file: make read_info_alternates static

read_info_alternates is not used from outside, so let's make it static.

We have to declare the function before link_alt_odb_entry instead of
moving the code around, link_alt_odb_entry calls read_info_alternates,
which in turn calls link_alt_odb_entry.

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_file.c