diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-29 14:02:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-07 14:07:53 -0800 |
commit | 6e7b66eebd18c11f58a9790b8f071618a1bb5b2c (patch) | |
tree | 741aa5bec82254920bf24bdee1678b7039c36470 /remote.h | |
parent | 390eb36b0a9cbaa5051040c762b986ddd4b3848f (diff) | |
download | git-6e7b66eebd18c11f58a9790b8f071618a1bb5b2c.tar.gz |
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>
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ struct refspec { unsigned force : 1; unsigned pattern : 1; unsigned matching : 1; + unsigned exact_sha1 : 1; char *src; char *dst; |