Merge remote-tracking branch 'origin/2.5'

This commit is contained in:
Eike Ziller
2012-03-05 13:48:48 +01:00
27 changed files with 791 additions and 76 deletions

View File

@@ -793,14 +793,14 @@ void GitPlugin::fetch()
void GitPlugin::pull()
{
const VcsBase::VcsBasePluginState state = currentState();
QTC_ASSERT(state.hasTopLevel(), return)
QTC_ASSERT(state.hasTopLevel(), return);
switch (m_gitClient->ensureStash(state.topLevel())) {
case GitClient::StashUnchanged:
case GitClient::Stashed:
case GitClient::NotStashed:
m_gitClient->synchronousPull(state.topLevel());
default:
case GitClient::StashUnchanged:
case GitClient::Stashed:
case GitClient::NotStashed:
m_gitClient->synchronousPull(state.topLevel());
default:
break;
}
}