]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
Cleaned up memory allocation for object_entry structs.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 8 Aug 2006 04:03:59 +0000 (00:03 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 14 Jan 2007 07:15:02 +0000 (02:15 -0500)
commit27d6d29035473f01ba5bb3b52c86ee4181d251fe
tree4007a6c9cc65d8b1cc9a8adb04f4e19fdcd85d7a
parent8bcce30126b90af83c1291e072f74950e73a2584
Cleaned up memory allocation for object_entry structs.

Although its easy to ask the user to tell us how many objects they
will need, its probably better to dynamically grow the object table
in large units.  But if the user can give us a hint as to roughly
how many objects then we can still use it during startup.

Also stopped printing the SHA1 strings to stdout as no user is
currently making use of that facility.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c