Commit 673de2cf by nulltoken

Fix misleading comments

parent 2b9b99b6
...@@ -78,14 +78,14 @@ BEGIN_TEST(write0, "write a tag to the repository and read it again") ...@@ -78,14 +78,14 @@ BEGIN_TEST(write0, "write a tag to the repository and read it again")
git_oid_mkstr(&target_id, tagged_commit); git_oid_mkstr(&target_id, tagged_commit);
/* create signatures */ /* create signature */
tagger = git_signature_new(TAGGER_NAME, TAGGER_EMAIL, 123456789, 60); tagger = git_signature_new(TAGGER_NAME, TAGGER_EMAIL, 123456789, 60);
must_be_true(tagger != NULL); must_be_true(tagger != NULL);
must_pass(git_tag_create( must_pass(git_tag_create(
&tag_id, /* out id */ &tag_id, /* out id */
repo, repo,
"the-tag", /* do not update the HEAD */ "the-tag",
&target_id, &target_id,
GIT_OBJ_COMMIT, GIT_OBJ_COMMIT,
tagger, tagger,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment