libgit2

git_config_delete_multivar

Version:

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

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