1. Annotated
These are the luagit2 methods that help to produce
annotation commit for the tracked files in a given git
repository.
These annotation commits can then be used while doing
merge, rebase or creating a branch from an annotated commit.
Refer to this https://libgit2.org/libgit2/#v0.27.0/type/git_annotated_commit.
parameters |
Returns |
luagit2_repository |
luagit2_annotated_commit |
reference_name(string) |
luagit2_repository
: The repository to look into for the reference
reference_name
: the reference_name string value using which the annotated commit will be created.
parameters |
Returns |
luagit2_repository |
luagit2_annotated_commit |
luagit2_oid |
luagit2_repository
: The repository to look into for the given oid.
luagit2_oid
: the oid to look for and to be used to create annotated commit.
parameters |
Returns |
luagit2_repository |
luagit2_annotated_commit |
luagit2_oid |
luagit2_repository
: The repository to look into for the annotated commit’s oid.
luagit2_oid
: the annotated commit’s oid to lookup for.
parameters |
Returns |
luagit2_repository |
luagit2_annotated_commit |
branch_name (string) |
remote_url_name (string) |
luagit2_oid |
luagit2_repository
: The repository to look into for provided values.
branch_name
: The branch name of whose remote url is to be used.
remote_url_name
: Name of remote url name.
luagit2_oid
: the commit oid (preferably latest) of provided remote branch.
parameters |
Returns |
luagit2_annotated_commit |
luagit2_oid |
luagit2_annotated_commit
: The annotated commit whose oid is to be found.
parameters |
Returns |
luagit2_annotated_commit |
None |
luagit2_annotated_commit
: The annotated commit which is to be freed.