libgit2

git_config_set_int32

Version:

Set the value of an integer config variable.

Signature

int git_config_set_int32(git_config *cfg, const char *name, int32_t value);

Parameters

In
cfg

where to look for the variable

const char *
In
name

the variable's name

int32_t
In
value

Integer value for the variable

Returns

int

0 or an error code

Versions