summaryrefslogtreecommitdiff
path: root/fast-import.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactored fast-import's internals for future additions.Shawn O. Pearce2007-01-141-66/+83
| | | | | | | | | | Too many globals variables were being used not not enough code was resuable to process trees and commits so this is a simple refactoring of the existing blob processing code to get into a state that will be easier to handle trees and commits in. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Cleaned up memory allocation for object_entry structs.Shawn O. Pearce2007-01-141-47/+46
| | | | | | | | | | | | 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>
* Added automatic index generation to fast-import.Shawn O. Pearce2007-01-141-19/+163
| | | | Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
* Created fast-import, a tool to quickly generating a pack from blobs.Shawn O. Pearce2007-01-141-0/+214
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>