]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch: fetch objects by their exact SHA-1 object names
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2013 22:02:15 +0000 (14:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Feb 2013 22:07:53 +0000 (14:07 -0800)
commit6e7b66eebd18c11f58a9790b8f071618a1bb5b2c
tree741aa5bec82254920bf24bdee1678b7039c36470
parent390eb36b0a9cbaa5051040c762b986ddd4b3848f
fetch: fetch objects by their exact SHA-1 object names

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.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c
remote.c
remote.h
t/t5516-fetch-push.sh