From: Stefan Beller Date: Fri, 23 Mar 2018 17:21:08 +0000 (+0100) Subject: sha1_file: allow link_alt_odb_entries to handle arbitrary repositories X-Git-Tag: v2.18.0-rc0~144^2~13 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/77f012e876d5845856cb939c6435e839d5f9d027?ds=sidebyside;hp=77f012e876d5845856cb939c6435e839d5f9d027 sha1_file: allow link_alt_odb_entries to handle arbitrary repositories Actually this also allows read_info_alternates and link_alt_odb_entry to handle arbitrary repositories, but link_alt_odb_entries is the most interesting function in this set of functions, hence the commit subject. These functions span a strongly connected component in the function graph, i.e. the recursive call chain might look like -> link_alt_odb_entries -> link_alt_odb_entry -> read_info_alternates -> link_alt_odb_entries That is why we need to convert all these functions at the same time. Signed-off-by: Jonathan Nieder Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---