Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
close_lock_file(): exit (successfully) if file is already closed
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 487f1f81ac170acf87bae2801f6472c0768e3e24..96b0f4236a2083044e4ae1dfa3b8180e3e586ba1 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-878,7
+878,7
@@
static void start_packfile(void)
pack_size = sizeof(hdr);
object_count = 0;
-
all_packs = xrealloc(all_packs, sizeof(*all_packs) * (pack_id + 1)
);
+
REALLOC_ARRAY(all_packs, pack_id + 1
);
all_packs[pack_id] = p;
}