Commit 2575b0eb75bab8aee15d4582f60496382ddfa492

Stefan Sperling 2019-08-22T22:51:39

use correct label for author (aka tagger) info when writing tag objects

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/object_create.c b/lib/object_create.c
index e790d9a..0f37c4e 100644
--- a/lib/object_create.c
+++ b/lib/object_create.c
@@ -663,7 +663,7 @@ got_object_tag_create(struct got_object_id **id,
 	}
 
 	if (asprintf(&tagger_str, "%s%s %lld +0000\n",
-	    GOT_COMMIT_LABEL_AUTHOR, tagger, tagger_time) == -1)
+	    GOT_TAG_LABEL_TAGGER, tagger, tagger_time) == -1)
 		return got_error_from_errno("asprintf");
 
 	msg0 = strdup(tagmsg);