]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-name.c
sha1-name.c: move around the collect_ambiguous() function
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 10 May 2018 12:43:01 +0000 (12:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 May 2018 03:15:02 +0000 (12:15 +0900)
commita885c93b5c2975352d7c61b330be04a270c9062f
treee50e2a9f410a812f3314027dde420d00e9197ac5
parent89f32a92b4f04ab93fc52ef16fa628cbb2bddd7d
sha1-name.c: move around the collect_ambiguous() function

A subsequent change will make use of this static function in the
get_short_oid() function, which is defined above where the
collect_ambiguous() function is now. Without this we'd then have a
compilation error due to a forward declaration.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1-name.c