diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2018-09-27 12:24:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-07 09:35:41 +0900 |
commit | 99bcb883cb2bd2d27939a831a66d794770427e98 (patch) | |
tree | 74ec100cc67e4b9e51951815520398ce820f3aee /builtin/log.c | |
parent | Sync with 2.19.1 (diff) | |
download | tgif-99bcb883cb2bd2d27939a831a66d794770427e98.tar.xz |
transport: allow skipping of ref listing
The get_refs_via_connect() function both performs the handshake
(including determining the protocol version) and obtaining the list of
remote refs. However, the fetch protocol v2 supports fetching objects
without the listing of refs, so make it possible for the user to skip
the listing by creating a new handshake() function. This will be used in
a subsequent commit.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
0 files changed, 0 insertions, 0 deletions