summaryrefslogtreecommitdiff
path: root/builtin/worktree.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2018-09-27 12:24:04 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-07 09:35:41 +0900
commit99bcb883cb2bd2d27939a831a66d794770427e98 (patch)
tree74ec100cc67e4b9e51951815520398ce820f3aee /builtin/worktree.c
parentSync with 2.19.1 (diff)
downloadtgif-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/worktree.c')
0 files changed, 0 insertions, 0 deletions