]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/fetch-pack.c
clone: support remote shallow repository
[thirdparty/git.git] / builtin / fetch-pack.c
index c1d918fe1bb6772871308e6fabca91fe2f8393e0..927424b6b8feaded0c13fd8e184e735e3ff9a00e 100644 (file)
@@ -153,7 +153,7 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
        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);
+                        sought, nr_sought, NULL, pack_lockfile_ptr);
        if (pack_lockfile) {
                printf("lock %s\n", pack_lockfile);
                fflush(stdout);