Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Unify signedness in hashing calls
[gitweb.git]
/
pack-refs.c
diff --git
a/pack-refs.c
b/pack-refs.c
index 2c76fb181f64e10c65517224b0c09cb648db81ac..301fc60eae1ad53721851a272a0fbd0192881801 100644
(file)
--- a/
pack-refs.c
+++ b/
pack-refs.c
@@
-66,7
+66,7
@@
static void prune_ref(struct ref_to_prune *r)
struct ref_lock *lock = lock_ref_sha1(r->name + 5, r->sha1);
if (lock) {
- unlink(git_path("%s", r->name));
+ unlink
_or_warn
(git_path("%s", r->name));
unlock_ref(lock);
}
}