Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool
[gitweb.git]
/
builtin
/
remote.c
diff --git
a/builtin/remote.c
b/builtin/remote.c
index 5339ed6ad17bb0c83e05d3e60d654c4f0632ee50..ecd7b3a8cc554197330a0bba556e806c8e9a2ed6 100644
(file)
--- a/
builtin/remote.c
+++ b/
builtin/remote.c
@@
-300,7
+300,7
@@
static int config_read_branches(const char *key, const char *value, void *cb)
}
string_list_append(&info->merge, xstrdup(value));
} else {
- int v = git_
config_maybe_bool(orig_key,
value);
+ int v = git_
parse_maybe_bool(
value);
if (v >= 0)
info->rebase = v;
else if (!strcmp(value, "preserve"))