diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-05 07:28:21 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-05 07:28:21 +0100 |
commit | e27e609bbf81271318d99f2643f378f3fde6c6c6 (patch) | |
tree | 331a4d351a1a310a131ae28f71f6d5fa3486224e /refs.c | |
parent | gitweb: Fix shortlog only showing HEAD revision. (diff) | |
parent | pack-check.c::verify_packfile(): don't run SHA-1 update on huge data (diff) | |
download | git-e27e609bbf81271318d99f2643f378f3fde6c6c6.tar.xz git-e27e609bbf81271318d99f2643f378f3fde6c6c6.zip |
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); |