libgit2

git_repository_ident

Version:

Retrieve the configured identity to use for reflogs

The memory is owned by the repository and must not be freed by the user.

Signature

int git_repository_ident(const char **name, const char **email, const git_repository *repo);

Parameters

const char **
In
name

where to store the pointer to the name

const char **
In
email

where to store the pointer to the email

In
repo

the repository

Returns

int

Versions