summaryrefslogtreecommitdiff
path: root/builtin/fetch-pack.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-12-05 13:02:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-12-11 00:14:16 (GMT)
commitb06dcd7d6829c86afda6b311cadf009ee4b4dd59 (patch)
tree6db0d883cc38fb1ed50038df1e880f6c7616d0f2 /builtin/fetch-pack.c
parentad491366de6c883cd04539cb86db31049201dfbd (diff)
downloadgit-b06dcd7d6829c86afda6b311cadf009ee4b4dd59.zip
git-b06dcd7d6829c86afda6b311cadf009ee4b4dd59.tar.gz
git-b06dcd7d6829c86afda6b311cadf009ee4b4dd59.tar.bz2
connect.c: teach get_remote_heads to parse "shallow" lines
No callers pass a non-empty pointer as shallow_points at this stage. As a result, all clients still refuse to talk to shallow repository on the other end. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fetch-pack.c')
-rw-r--r--builtin/fetch-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch-pack.c b/builtin/fetch-pack.c
index c8e8582..c1d918f 100644
--- a/builtin/fetch-pack.c
+++ b/builtin/fetch-pack.c
@@ -150,7 +150,7 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
args.verbose ? CONNECT_VERBOSE : 0);
}
- get_remote_heads(fd[0], NULL, 0, &ref, 0, NULL);
+ get_remote_heads(fd[0], NULL, 0, &ref, 0, NULL, NULL);
ref = fetch_pack(&args, fd, conn, ref, dest,
sought, nr_sought, pack_lockfile_ptr);