From: Taylor Blau Date: Mon, 8 Oct 2018 18:09:26 +0000 (-0700) Subject: transport.c: extract 'fill_alternate_refs_command' X-Git-Tag: v2.20.0-rc0~149^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/1e5f31d444436cfab1b1aef3026ffbd925f5a818?hp=1e5f31d444436cfab1b1aef3026ffbd925f5a818 transport.c: extract 'fill_alternate_refs_command' To list alternate references, 'read_alternate_refs' creates a child process running 'git for-each-ref' in the alternate's Git directory. Prepare to run other commands besides 'git for-each-ref' by introducing and moving the relevant code from 'read_alternate_refs' to 'fill_alternate_refs_command'. Signed-off-by: Taylor Blau Acked-by: Jeff King Signed-off-by: Junio C Hamano ---