Skip to content

Commit

Permalink
pack-refs: fix git_path() usage.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
Junio C Hamano committed Sep 23, 2006
1 parent 7c1a278 commit 6d15987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-pack-refs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 6d15987

Please sign in to comment.