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

Re: [PATCH v3 7/8] fetch: fetch objects by their exact SHA-1 object names

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:03

Jeff King [off-list ref] writes:
On Wed, Jan 30, 2013 at 10:45:41AM -0800, Junio C Hamano wrote:
quoted
Teach "git fetch" to accept an exact SHA-1 object name the user may
obtain out of band on the LHS of a pathspec, and send it on a "want"
message when the server side advertises the allow-tip-sha1-in-want
capability.
Hmm. The UI on this is a little less nice than I would have hoped.
Naming with unadvertised *refname*, not object name, needs protocol
extension for the serving side to expand the name to object name;
otherwise the receiving end wouldn't know what tip what it asked
resulted in.

And that belongs to a separate "expand refs" extension (aka
"delaying ref advertisement") that is outside the scope of this
series but can be built on top, as I said in the cover letter.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help