3 int advice_push_nonfastforward
= 1;
9 { "pushnonfastforward", &advice_push_nonfastforward
},
12 int git_default_advice_config(const char *var
, const char *value
)
14 const char *k
= skip_prefix(var
, "advice.");
17 for (i
= 0; i
< ARRAY_SIZE(advice_config
); i
++) {
18 if (strcmp(k
, advice_config
[i
].name
))
20 *advice_config
[i
].preference
= git_config_bool(var
, value
);