Merge refs/heads/master from .
[gitweb.git] / clone-pack.c
index e9c20dee71ac18cdc4ff06d78e5a9345a347914d..49820c6579dc286634d083a37a80baa508626408 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;