diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-02-15 17:11:54 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-02-15 17:11:54 -0800 |
| commit | eb11ec23ff1ff896b1e88be1e516870ce8a2d983 (patch) | |
| tree | 1e7ade55781f28ec16930ec7e5880f2284830934 | |
| parent | 06bca9708ac86d286a6f5265ff0e6c532f44c657 (diff) | |
| parent | 3eb1e1ca9a3cdb68d6b67b0ff0a40f647b2aedaf (diff) | |
| download | git-eb11ec23ff1ff896b1e88be1e516870ce8a2d983.tar.gz | |
Merge branch 'ab/config-h-remove-unused'
Code clean-up.
* ab/config-h-remove-unused:
config.h: remove unused git_configset_add_parameters()
| -rw-r--r-- | config.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -448,15 +448,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 * configuration variable `key` is not found, returns NULL. The caller |
