git_transaction_set_target

Set the target of a reference

Set the target of the specified reference. This reference must be locked.

@param tx the transaction @param refname reference to update @param target target to set the reference to @param sig signature to use in the reflog; pass null to read the identity from the config @param msg message to use in the reflog @return 0, git_error_code.GIT_ENOTFOUND if the reference is not among the locked ones, or an error code

extern (C) nothrow @nogc
int
git_transaction_set_target

Meta