fetch-pack: perform a fetch using v2
[gitweb.git] / builtin / fetch-pack.c
index b2374ddbbf58bb077423c32885a051c3405f6485..f9d7d0b5a519a94317326e0b1baa562aade639a2 100644 (file)
@@ -212,7 +212,7 @@ int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
        }
 
        ref = fetch_pack(&args, fd, conn, ref, dest, sought, nr_sought,
-                        &shallow, pack_lockfile_ptr);
+                        &shallow, pack_lockfile_ptr, protocol_v0);
        if (pack_lockfile) {
                printf("lock %s\n", pack_lockfile);
                fflush(stdout);