diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-05-06 14:15:15 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-05-06 14:15:15 +0000 |
commit | 11391bcb949b19bc542f9a46b4392db01b3c7b93 (patch) | |
tree | c109121af3caf6da755e005590823ce579300ce7 /check | |
parent | 534fe7aaca2d0e6048e92c6c76e455c5c972ad85 (diff) | |
download | morph-11391bcb949b19bc542f9a46b4392db01b3c7b93.tar.gz |
GitDir: Fix setting fetch url when push url is already on-disk
290483010cfc7945cd4483fadd1d98c3b83efb3 broke morph checkout, which
uses set_fetch_url on a repository that has been cloned, hence has its
origin remote url config already on-disk.
The fix prevents it changing the push_url when the fetch_url is set,
unless it is an unnamed remote, as if the config is on-disk, this
already does the right thing.
Change-Id: I6204f664407bab3d7f8ecf0fcca72f5015dee55e
Diffstat (limited to 'check')
0 files changed, 0 insertions, 0 deletions