summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-04-07 14:32:50 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-07 14:32:50 -0700
commit4d35924e3ac2e3022dd7595afe48334e7a794fb4 (patch)
tree39681a136e126cd5025aa78349d9db6d97ccd17f /builtin/push.c
parentMerge branch 'mm/status-during-revert' (diff)
parentremote.c: introduce branch.<name>.pushremote (diff)
downloadtgif-4d35924e3ac2e3022dd7595afe48334e7a794fb4.tar.xz
Merge branch 'rr/triangle'
Support "pull from one place, push to another place" workflow better by introducing remote.pushdefault (overrides the "origin" thing) and branch.*.pushremote (overrides the branch.*.remote). * rr/triangle: remote.c: introduce branch.<name>.pushremote remote.c: introduce remote.pushdefault remote.c: introduce a way to have different remotes for fetch/push t5516 (fetch-push): drop implicit arguments from helper functions t5516 (fetch-push): update test description remote.c: simplify a bit of code using git_config_string()
Diffstat (limited to 'builtin/push.c')
-rw-r--r--builtin/push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/push.c b/builtin/push.c
index 5e4a0e958f..909c34dfda 100644
--- a/builtin/push.c
+++ b/builtin/push.c
@@ -322,7 +322,7 @@ static int push_with_options(struct transport *transport, int flags)
static int do_push(const char *repo, int flags)
{
int i, errs;
- struct remote *remote = remote_get(repo);
+ struct remote *remote = pushremote_get(repo);
const char **url;
int url_nr;