git_repository_set_ident

Set the identity to be used for writing reflogs

If both are set, this name and email will be used to write to the reflog. Pass null to unset. When unset, the identity will be taken from the repository's configuration.

extern (C) nothrow @nogc
int
git_repository_set_ident
(,
const(char)* name
,
const(char)* email
)

Parameters

repo libgit2_d.types.git_repository*

the repository to configure

name const(char)*

the name to use for the reflog entries

email const(char)*

the email to use for the reflog entries

Meta