Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/git-checkout.txt: clarify usage
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 9d1685bcba4ca0381dd9d0990a97046b56324aed..520e50f3bc9c52beb45d2df19a7ae928c174c9ed 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1770,7
+1770,7
@@
int delete_ref(const char *refname, const unsigned char *sha1, int delopt)
* packed one. Also, if it was not loose we need to repack
* without it.
*/
- ret |= repack_without_ref(
ref
name);
+ ret |= repack_without_ref(
lock->ref_
name);
unlink_or_warn(git_path("logs/%s", lock->ref_name));
invalidate_ref_cache(NULL);