[PATCH] HTTP partial transfer support fix.
[git.git] / clone-pack.c
index e9c20de..49820c6 100644 (file)
@@ -30,7 +30,7 @@ static int is_master(struct ref *ref)
 
 static void write_one_ref(struct ref *ref)
 {
-       char *path = git_path(ref->name);
+       char *path = git_path("%s", ref->name);
        int fd;
        char *hex;