do not create "struct commit" with xcalloc