libgit2

git_signature_now

Version:

Create a new action signature with a timestamp of 'now'. The signature must be freed manually or using git_signature_free

Signature

git_signature *git_signature_now(const char *name, const char *email);

Parameters

const char *
In
name

name of the person

const char *
In
email

email of the person

Returns

the new sig, NULL on out of memory

Versions