File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,14 @@ struct config_set {
189189
190190extern void git_configset_init (struct config_set * cs );
191191extern int git_configset_add_file (struct config_set * cs , const char * filename );
192- extern int git_configset_get_value (struct config_set * cs , const char * key , const char * * value );
193192extern const struct string_list * git_configset_get_value_multi (struct config_set * cs , const char * key );
194193extern void git_configset_clear (struct config_set * cs );
194+
195+ /*
196+ * These functions return 1 if not found, and 0 if found, leaving the found
197+ * value in the 'dest' pointer.
198+ */
199+ extern int git_configset_get_value (struct config_set * cs , const char * key , const char * * dest );
195200extern int git_configset_get_string_const (struct config_set * cs , const char * key , const char * * dest );
196201extern int git_configset_get_string (struct config_set * cs , const char * key , char * * dest );
197202extern int git_configset_get_int (struct config_set * cs , const char * key , int * dest );
You can’t perform that action at this time.
0 commit comments