Thread (3 messages) flat view 3 messages, 3 authors, 2017-08-15

Re: [PATCH] sha1_file: make read_info_alternates static

From: Jeff King <hidden>
Date: 2017-08-15 21:34:28

On Tue, Aug 15, 2017 at 01:13:19PM -0700, Stefan Beller wrote:
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 <redacted>
Thanks, this looks good. It should have been part of my series with
a5b34d2152 (alternates: provide helper for adding to alternates list,
2016-10-03), which removed the last external call.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help