1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-08 22:56:12 +02:00

Merge branch 'ab/config-h-remove-unused'

Code clean-up.

* ab/config-h-remove-unused:
  config.h: remove unused git_configset_add_parameters()
This commit is contained in:
Junio C Hamano 2023-02-15 17:11:54 -08:00
commit eb11ec23ff

View File

@ -447,15 +447,6 @@ void git_configset_init(struct config_set *cs);
*/
int git_configset_add_file(struct config_set *cs, const char *filename);
/**
* Parses command line options and environment variables, and adds the
* variable-value pairs to the `config_set`. Returns 0 on success, or -1
* if there is an error in parsing. The caller decides whether to free
* the incomplete configset or continue using it when the function
* returns -1.
*/
int git_configset_add_parameters(struct config_set *cs);
/**
* Finds and returns the value list, sorted in order of increasing priority
* for the configuration variable `key` and config set `cs`. When the