summaryrefslogtreecommitdiff
path: root/convert-cache.c
AgeCommit message (Collapse)Author
2005-04-26[PATCH] introduce xmalloc and xreallocChristopher Li
Introduce xmalloc and xrealloc to die gracefully with a descriptive message when out of memory, rather than taking a SIGSEGV. Signed-off-by: Christopher Li<chrislgit@chrisli.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-25Simplify "write_sha1_file()" interfacesLinus Torvalds
The write function now adds the header to the file by itself, so there is no reason to duplicate it among all the users any more.
2005-04-24Update "convert-cache" to handle git itself.Linus Torvalds
The git archives have some old-date-format commits with timezones that the converter didn't recognize. Also, make it be quiet about already-converted dates.
2005-04-23Make a hack to convert-cache for missing author dates in oldLinus Torvalds
archives (notably the old sparse one). Very hacky. But hopefully we can do the conversion once, and never worry about this ever again.
2005-04-23Make "convert-cache" able to handle the really old archive formatsLinus Torvalds
This includes the old-style "flat tree" object, and the old broken date format. Well, enough of the date format to convert the sparse archive, at least.
2005-04-20Do SHA1 hash _before_ compression.Linus Torvalds
And add a "convert-cache" program to convert from old-style to new-style.