Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote rename: more carefully determine whether a remote is configured
[gitweb.git]
/
builtin
/
fetch.c
diff --git
a/builtin/fetch.c
b/builtin/fetch.c
index cd7e3cefe62b98786097de9a6a456589060c7ebd..44de68564ac4d526b51fa4cac732e57e63eb69ad 100644
(file)
--- a/
builtin/fetch.c
+++ b/
builtin/fetch.c
@@
-1145,7
+1145,7
@@
static int add_remote_or_group(const char *name, struct string_list *list)
git_config(get_remote_group, &g);
if (list->nr == prev_nr) {
struct remote *remote = remote_get(name);
- if (!remote_is_configured(remote))
+ if (!remote_is_configured(remote
, 0
))
return 0;
string_list_append(list, remote->name);
}