reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit b305f102243dc398de7843f74966062c0333083c
parent 4b22d928e60de898a31241082abfc6ec0796bcbb
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Mon,  4 Dec 2017 08:19:49 -0800

import: synchronize when changing the URL of a repository and autoinstall is enabled

Diffstat:
Msrc/reapack.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/reapack.cpp b/src/reapack.cpp @@ -178,7 +178,7 @@ void ReaPack::addSetRemote(const Remote &remote) if(remote.isEnabled() && remote.autoInstall(m_config->install.autoInstall)) { const Remote &previous = m_config->remotes.get(remote.name()); - if(!previous || !previous.isEnabled()) { + if(!previous || !previous.isEnabled() || previous.url() != remote.url()) { if(Transaction *tx = setupTransaction()) tx->synchronize(remote); }