Merge pull request #500 from schu/minor-fixups

Minor fixups
This commit is contained in:
Vicent Martí 2011-11-29 02:37:39 -08:00
commit fc88a8d321

View File

@ -74,6 +74,7 @@ static int add_ref(transport_local *t, const char *name)
ret = p_snprintf(head->name, peel_len + 1, "%s%s", name, peeled);
assert(ret < peel_len + 1);
(void)ret;
git_oid_cpy(&head->oid, git_tag_target_oid((git_tag *) obj));