Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Live config may be fetched from wrong repository #9

Open
colans opened this issue Feb 11, 2016 · 0 comments
Open

Live config may be fetched from wrong repository #9

colans opened this issue Feb 11, 2016 · 0 comments

Comments

@colans
Copy link

colans commented Feb 11, 2016

On the destination, there is a git fetch command to grab configuration from the source. However, no repository is specified. As per the man page (emphasis mine),

When no remote is specified, by default the origin remote will be used, unless there’s an upstream branch configured for the current branch.

This is different than this Drush command, which always defaults to origin:

--remote= The remote git repository to use to fetch changes. Defaults to "origin".

The upstream branch can often be the developer's fork (named after the developer, let's say), not origin (or what I prefer to call upstream to avoid ambiguity).

So we should specify the remote repository here. I'll have a patch for this shortly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant