Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 04/17] Name local variables more consistently

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:35

Jeff King [off-list ref] writes:
Yeah, I agree that "refnames" would be better. I think something like
"spec" or "refspec" would indicate better that they are to be matched
against, but then you run afoul of confusing that with colon-delimited
refspecs (which I do not think fetch-pack understands at all).
Correct.  It only takes the LHS of the refspecs, following the "one
tool does one specific thing" philosophy.  The arrangement was that
the calling script interpreted refspecs, split them into LHS and
RHS, fed the LHS of the refspecs to fetch-pack, and then read the
output to learn which local refs (i.e. RHS of the refspecs) to
update with what value.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help