Reset the memory packer by clearing all the queued objects.
This assumes that git_mempack_dump has been called before to store all the queued objects into a single packfile.
Alternatively, call reset without a previous dump to "undo" all the recently written objects, giving transaction-like semantics to the Git repository.
The mempack backend
0 on success; error code otherwise
See Implementation
Reset the memory packer by clearing all the queued objects.
This assumes that git_mempack_dump has been called before to store all the queued objects into a single packfile.
Alternatively, call reset without a previous dump to "undo" all the recently written objects, giving transaction-like semantics to the Git repository.