Adjust to git_buf and oid->id changes

This commit is contained in:
Carlos Martín Nieto
2014-02-13 14:51:24 +01:00
parent bb726f90a0
commit 42d0aef29d
3 changed files with 11 additions and 16 deletions

View File

@@ -123,7 +123,7 @@ geef_commit_create(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
i++;
}
if (git_commit_create_from_oids(&commit_id, repo->repo, ref, author, committer, encoding, message,
if (git_commit_create_from_ids(&commit_id, repo->repo, ref, author, committer, encoding, message,
&tree, parents_len, parents_ids_ptrs) < 0)
return geef_error(env);