From: Junio C Hamano Date: Sat, 23 Sep 2006 04:31:40 +0000 (-0700) Subject: pack-refs: fix git_path() usage. X-Git-Tag: v1.4.4-rc1~43^2~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6d15987c1e06dab2c0470b86cf9f3df747891f5a;p=git.git pack-refs: fix git_path() usage. Signed-off-by: Junio C Hamano --- diff --git a/builtin-pack-refs.c b/builtin-pack-refs.c index 246dd6372..db57fee72 100644 --- a/builtin-pack-refs.c +++ b/builtin-pack-refs.c @@ -56,7 +56,7 @@ static void prune_ref(struct ref_to_prune *r) struct ref_lock *lock = lock_ref_sha1(r->name + 5, r->sha1, 1); if (lock) { - unlink(git_path(r->name)); + unlink(git_path("%s", r->name)); unlock_ref(lock); } }