diff options
Diffstat (limited to 'clone-pack.c')
-rw-r--r-- | clone-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clone-pack.c b/clone-pack.c index e9c20dee71..49820c6579 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; |