Insert a single object
For an optimal pack it's mandatory to insert objects in recency order, commits followed by trees and blobs.
The packbuilder
The oid of the commit
The name; might be NULL
0 or an error code