rev-parse: fix several options when running in a subdirectory
[gitweb.git] / builtin / fetch.c
index f1570e346434e8695e80ba568c28b1363b2c0cb5..b5ad09d0460cc7a51f35a56a4304e6a1fb26d26e 100644 (file)
@@ -1177,7 +1177,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);
        }