10 int main(int argc
, char *argv
[])
15 unsigned char sha1
[20];
18 printf("commit SHA1 missing?");
19 fprintf(stderr
, "commit-dumper <repo> <commit>\n");
29 memset(sha1
, 0, sizeof(sha1
));
30 get_sha1(argv
[2], sha1
);
32 buf
= read_object_with_reference(sha1
, "commit", &size
, NULL
);
34 fprintf(stderr
, "buf is NULL\n");