aboutsummaryrefslogtreecommitdiff
path: root/clone-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'clone-pack.c')
-rw-r--r--clone-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-pack.c b/clone-pack.c
index e9c20dee7..49820c657 100644
--- a/clone-pack.c
+++ b/clone-pack.c
@@ -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;