git_transaction_set_reflog

Set the reflog of a reference

Set the specified reference's reflog. If this is combined with setting the target, that update won't be written to the reflog.

extern (C) nothrow @nogc
int
git_transaction_set_reflog

Parameters

tx libgit2_d.types.git_transaction*

the transaction

refname const(char)*

the reference whose reflog to set

reflog const(libgit2_d.types.git_reflog)*

the reflog as it should be written out

Return Value

Type: int

0, git_error_code.GIT_ENOTFOUND if the reference is not among the locked ones, or an error code

Meta