diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-08 01:32:50 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-08 01:32:50 +0400 |
commit | 4d35924e3ac2e3022dd7595afe48334e7a794fb4 (patch) | |
tree | 39681a136e126cd5025aa78349d9db6d97ccd17f /builtin | |
parent | e64734b6a0ffabdbf027cfee865a6cae567e2199 (diff) | |
parent | 9f765ce62fd2d5159a3dc7f73abe30a3fbef08f7 (diff) |
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')
-rw-r--r-- | builtin/push.c | 2 |
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; |