git_reflog_append

Add a new entry to the in-memory reflog.

msg is optional and can be null.

extern (C) nothrow @nogc
int
git_reflog_append

Parameters

reflog libgit2_d.types.git_reflog*

an existing reflog object

id const(libgit2_d.oid.git_oid)*

the OID the reference is now pointing to

committer const(libgit2_d.types.git_signature)*

the signature of the committer

msg const(char)*

the reflog message

Return Value

Type: int

0 or an error code

Meta