"Derrick Stolee via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > @@ -65,6 +66,81 @@ int for_all_bundles_in_list(struct bundle_list *list, > return 0; > } > > +/** > + * Given a key-value pair, update the state of the given bundle list. > + * Returns 0 if the key-value pair is understood. Returns 1 if the key > + * is not understood or the value is malformed. > + */ > +MAYBE_UNUSED > +static int bundle_list_update(const char *key, const char *value, > + struct bundle_list *list) > +{ [snip] > + if (parse_config_key(key, "bundle", &subsection, &subsection_len, &subkey)) > + return -1; The comment at the top should say -1 instead of 1.