libgit2

git_config_set_int64

Version:

Set the value of a long integer config variable in the config file with the highest level (usually the local one).

Signature

int git_config_set_int64(git_config *cfg, const char *name, int64_t value);

Parameters

In
cfg

where to look for the variable

const char *
In
name

the variable's name

int64_t
In
value

Long integer value for the variable

Returns

int

0 or an error code

Versions