libgit2

git_config_delete_multivar

Version:

Deletes one or several entries from a multivar in the local config file.

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

Signature

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

Parameters

In
cfg

where to look for the variables

const char *
In
name

the variable's name

const char *
In
regexp

a regular expression to indicate which values to delete

Returns

int

0 or an error code

Versions