libgit2

git_config_set_long

Version:

Set the value of a long integer config variable.

Signature

int git_config_set_long(git_config *cfg, const char *name, long value);

Parameters

In
cfg

where to look for the variable

const char *
In
name

the variable's name

long
In
value

Long integer value for the variable

Returns

int

GIT_SUCCESS on success; error code otherwise

Versions