1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
int git_commit_amend(
git_oid *id,
const git_commit *commit_to_amend,
const char *update_ref,
const git_signature *author,
const git_signature *committer,
const char *message_encoding,
const char *message,
const git_tree *tree);
int git_annotated_commit_lookup(
git_annotated_commit **out,
git_repository *repo,
const git_oid *id);
int git_annotated_commit_from_ref(
git_annotated_commit **out,
git_repository *repo,
const struct git_reference *ref);
void git_annotated_commit_free(git_annotated_commit *commit);
|