shallow.c: the 8 steps to select new commits for .git/shallow
[gitweb.git] / builtin / fetch-pack.c
index c8e858232a8e7a3536ef4d296efdc618e034c36e..c1d918fe1bb6772871308e6fabca91fe2f8393e0 100644 (file)
@@ -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);