commit - 8aa93786da2fe8d0c2714dcda5c6a0d4676b08c1
commit + e15d52415f5691757642691b41e723ddfbd7facb
blob - 9c6dc3c63f0bc8ec9884129798772094865b8aad
blob + 215ac4b28ec9af15c08d48b2d902dee4ca65fc6a
--- got/got.c
+++ got/got.c
if (err)
goto done;
- fprintf(outfile, "%s%s\n", GOT_TAG_LABEL_TAG,
- got_object_tag_get_name(tag));
+ fprintf(outfile, "%s%s\n", GOT_TAG_LABEL_OBJECT, id_str);
+
switch (got_object_tag_get_object_type(tag)) {
case GOT_OBJ_TYPE_BLOB:
fprintf(outfile, "%s%s\n", GOT_TAG_LABEL_TYPE,
default:
break;
}
- fprintf(outfile, "%s%s\n", GOT_TAG_LABEL_OBJECT, id_str);
+ fprintf(outfile, "%s%s\n", GOT_TAG_LABEL_TAG,
+ got_object_tag_get_name(tag));
+
fprintf(outfile, "%s%s %lld +0000\n", GOT_TAG_LABEL_TAGGER,
got_object_tag_get_tagger(tag),
got_object_tag_get_tagger_time(tag));