diff --git a/clone-pack.c b/clone-pack.c
index e9c20dee71ac18cdc4ff06d78e5a9345a347914d..49820c6579dc286634d083a37a80baa508626408 100644 (file)
--- a/clone-pack.c
+++ b/clone-pack.c
static void write_one_ref(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;
int fd;
char *hex;