diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-04 22:28:21 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-04 22:28:21 -0800 |
commit | e27e609bbf81271318d99f2643f378f3fde6c6c6 (patch) | |
tree | 331a4d351a1a310a131ae28f71f6d5fa3486224e /refs.c | |
parent | d222984e3610c1558778f7a23d23b89f1d91fb36 (diff) | |
parent | 8977c110b5bbd230c28c727ddb85856067d55cfb (diff) | |
download | git-e27e609bbf81271318d99f2643f378f3fde6c6c6.tar.gz git-e27e609bbf81271318d99f2643f378f3fde6c6c6.tar.xz |
Merge branch 'maint'
* maint:
pack-check.c::verify_packfile(): don't run SHA-1 update on huge data
Fix infinite loop when deleting multiple packed refs.
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |