Revert "Git: Use a single filename for log"

Breaks compilation

This reverts commit a05ea71133

Change-Id: I713f06a1fe1ff24f4721cda082fb732dc3f5c270
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Orgad Shaneh
2013-08-06 18:26:31 +02:00
parent fe25ae9935
commit 7c5b19ebf4
5 changed files with 23 additions and 21 deletions

View File

@@ -744,7 +744,7 @@ void GitPlugin::diffCurrentProject()
{
const VcsBase::VcsBasePluginState state = currentState();
QTC_ASSERT(state.hasProject(), return);
m_gitClient->diff(state.currentProjectTopLevel(), QStringList(state.relativeCurrentProject()));
m_gitClient->diff(state.currentProjectTopLevel(), state.relativeCurrentProject());
}
void GitPlugin::diffRepository()
@@ -758,7 +758,7 @@ void GitPlugin::logFile()
{
const VcsBase::VcsBasePluginState state = currentState();
QTC_ASSERT(state.hasFile(), return);
m_gitClient->log(state.currentFileTopLevel(), state.relativeCurrentFile(), true);
m_gitClient->log(state.currentFileTopLevel(), QStringList(state.relativeCurrentFile()), true);
}
void GitPlugin::blameFile()