shallow.c: extend setup_*_shallow() to accept extra shallow commits
[gitweb.git] / remote-curl.c
index c9b891adbf134193f07681a631ae368671e04aa6..222210fd31c7067ab5b5cae63b6f781b15a22d96 100644 (file)
@@ -107,7 +107,7 @@ static struct ref *parse_git_refs(struct discovery *heads, int for_push)
 {
        struct ref *list = NULL;
        get_remote_heads(-1, heads->buf, heads->len, &list,
-                        for_push ? REF_NORMAL : 0, NULL);
+                        for_push ? REF_NORMAL : 0, NULL, NULL);
        return list;
 }