libgit2

git_signature_new

Version:

Create a new action signature. The signature must be freed manually or using git_signature_free

name of the person

\email email of the person \time time when the action happened \offset timezone offset in minutes for the time

Signature

git_signature *git_signature_new(const char *name, const char *email, time_t time, int offset);

Parameters

const char *
In
name
const char *
In
email
time_t
In
time
int
In
offset

Returns

git_signature *

the new sig, NULl on out of memory

Versions