Diff between commits

This commit is contained in:
womax
2024-05-30 17:12:29 +02:00
parent 0bdc0b150d
commit b23f9a02f1
9 changed files with 244 additions and 8 deletions

View File

@@ -17,6 +17,11 @@ char *object_type_str[3] = {
"commit",
};
char* object_type_to_str(enum object_type type)
{
return object_type_str[type];
}
enum object_type str_to_object_type(char* str)
{
if(strncmp("tree", str, 4) == 0)