Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index e88ed8b2d3f42f48e6859de16f3d6a7f3641a84c..f76b4fe20dea81f99b330103ce9d05cc6364c96c 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-726,7
+726,6
@@
static int repack_without_ref(const char *refname)
}
if (!found)
return 0;
- memset(&packlock, 0, sizeof(packlock));
fd = hold_lock_file_for_update(&packlock, git_path("packed-refs"), 0);
if (fd < 0)
return error("cannot delete '%s' from packed refs", refname);