Update git-apply to use C-style quoting for funny pathnames.
[gitweb.git] / clone-pack.c
index 48bee96a883b220f431e3ca606481cd33fbf4786..2ac35f6825fa84e1f18ba191d943b367744ba9a0 100644 (file)
@@ -118,7 +118,7 @@ static int clone_pack(int fd[2], int nr_match, char **match)
        int status;
        pid_t pid;
 
-       get_remote_heads(fd[0], &refs, nr_match, match);
+       get_remote_heads(fd[0], &refs, nr_match, match, 1);
        if (!refs) {
                packet_flush(fd[1]);
                die("no matching remote head");