From: Jeff King Date: Fri, 28 Sep 2018 04:59:45 GMT Subject: Re: [PATCH v3 2/4] transport.c: extract 'fill_alternate_refs_command' Message-ID: <20180928045945.GB25850@sigill.intra.peff.net> In-Reply-To: <9479470cb1d5bdf8ee140d723fb913b9a95d3a32.1538108385.git.me@ttaylorr.com> On Thu, Sep 27, 2018 at 09:25:39PM -0700, Taylor Blau wrote: > 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 > --- > transport.c | 18 ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-) Same as before, but moving the slightly modified code. Makes sense. -Peff