commit 27b73dc07ba24302ddc410355170b21f2011fdfe
parent 39b7fcb6ca63e5b2d48bd8ce603de8bee48c394a
Author: cfillion <cfillion@users.noreply.github.com>
Date: Fri, 12 Feb 2016 16:46:59 -0500
remove the cached index file when uninstalling a remote
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/transaction.cpp b/src/transaction.cpp
@@ -191,6 +191,8 @@ void Transaction::unregisterAll(const Remote &remote)
void Transaction::uninstall(const Remote &remote)
{
+ remove(RemoteIndex::pathFor(remote.name()).join().c_str());
+
const vector<Registry::Entry> &entries = m_registry->getEntries(remote);
if(entries.empty())