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, git_time_t time, int offset);

Parameters

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

Returns

the new sig, NULL on out of memory

Versions