Skip to content

Commit eb11ec2

Browse files
committed
Merge branch 'ab/config-h-remove-unused'
Code clean-up. * ab/config-h-remove-unused: config.h: remove unused git_configset_add_parameters()
2 parents 06bca97 + 3eb1e1c commit eb11ec2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

config.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,6 @@ void git_configset_init(struct config_set *cs);
447447
*/
448448
int git_configset_add_file(struct config_set *cs, const char *filename);
449449

450-
/**
451-
* Parses command line options and environment variables, and adds the
452-
* variable-value pairs to the `config_set`. Returns 0 on success, or -1
453-
* if there is an error in parsing. The caller decides whether to free
454-
* the incomplete configset or continue using it when the function
455-
* returns -1.
456-
*/
457-
int git_configset_add_parameters(struct config_set *cs);
458-
459450
/**
460451
* Finds and returns the value list, sorted in order of increasing priority
461452
* for the configuration variable `key` and config set `cs`. When the

0 commit comments

Comments
 (0)