]> git.ipfire.org Git - thirdparty/git.git/blobdiff - config.h
config: do not leak excludes_file
[thirdparty/git.git] / config.h
index ef9eade6414e2661a6ab7e1970dafea3b3219114..7606246531a798a0f400a38742323626ae0d9524 100644 (file)
--- a/config.h
+++ b/config.h
@@ -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