libgit2

git_config_set_bool

Version:

Set the value of a boolean config variable.

Signature

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

Parameters

In
cfg

where to look for the variable

const char *
In
name

the variable's name

int
In
value

the value to store

Returns

int

GIT_SUCCESS on success; error code otherwise

Versions