summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7c1a278)
raw | patch | inline | side by side (parent: 7c1a278)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 23 Sep 2006 04:31:40 +0000 (21:31 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 23 Sep 2006 04:31:40 +0000 (21:31 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-refs.c | patch | blob | history |
diff --git a/builtin-pack-refs.c b/builtin-pack-refs.c
index 246dd6372ea9eafbd8326662f053ed547631ab20..db57fee72d55e9c54ee1a938e24703ebbdc12a90 100644 (file)
--- a/builtin-pack-refs.c
+++ b/builtin-pack-refs.c
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);
}
}