libgit2

git_config_set_multivar

Version:

Set a multivar in the local config file.

The regular expression is applied case-sensitively on the value.

Signature

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

Parameters

In
cfg

where to look for the variable

const char *
In
name

the variable's name

const char *
In
regexp

a regular expression to indicate which values to replace

const char *
In
value

the new value.

Returns

int

Versions