@matheusbsbs / matheus-bagliano / commits / 6d15987c1e
Fork 0

pack-refs: fix git_path() usage.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Sep 22, 2006 at 21:31 UTC 6d15987c1e06dab2c0470b86cf9f3df747891f5a
1 file changed +1 -1
builtin-pack-refs.c
+1 -1
@@ -56,7 +56,7 @@ static void prune_ref(struct ref_to_prune *r)
56 struct ref_lock *lock = lock_ref_sha1(r->name + 5, r->sha1, 1);
57
58 if (lock) {
59 - unlink(git_path(r->name));
59 + unlink(git_path("%s", r->name));
60 unlock_ref(lock);
61 }
62 }