Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cvsimport: skip commits that are too recent (option and documentation)
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 121774cb328a4d8a773a6a870c642a030bf3752d..52057455a20cb4641005c9248b5499cca83c77c1 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);