Skip to content

Commit

Permalink
Merge branch 'ab/config-h-remove-unused'
Browse files Browse the repository at this point in the history
Code clean-up.

* ab/config-h-remove-unused:
  config.h: remove unused git_configset_add_parameters()
  • Loading branch information
gitster committed Feb 16, 2023
2 parents 06bca97 + 3eb1e1c commit eb11ec2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb11ec2

Please sign in to comment.