Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-push.c')
-rw-r--r--builtin-push.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin-push.c b/builtin-push.c
index 7d7e826a39..4ee36c292d 100644
--- a/builtin-push.c
+++ b/builtin-push.c
@@ -57,9 +57,9 @@ static int do_push(const char *repo, int flags)
refspec_nr = remote->push_refspec_nr;
}
errs = 0;
- for (i = 0; i < remote->uri_nr; i++) {
+ for (i = 0; i < remote->url_nr; i++) {
struct transport *transport =
- transport_get(remote, remote->uri[i]);
+ transport_get(remote, remote->url[i]);
int err;
if (receivepack)
transport_set_option(transport,
@@ -68,14 +68,14 @@ static int do_push(const char *repo, int flags)
transport_set_option(transport, TRANS_OPT_THIN, "yes");
if (verbose)
- fprintf(stderr, "Pushing to %s\n", remote->uri[i]);
+ fprintf(stderr, "Pushing to %s\n", remote->url[i]);
err = transport_push(transport, refspec_nr, refspec, flags);
err |= transport_disconnect(transport);
if (!err)
continue;
- error("failed to push to '%s'", remote->uri[i]);
+ error("failed to push to '%s'", remote->url[i]);
errs++;
}
return !!errs;