summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitplugin.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2013-08-06 18:26:31 +0200
committerOrgad Shaneh <orgads@gmail.com>2013-08-06 18:27:09 +0200
commit7c5b19ebf4f4909a452ee78abe79e60e4d12a2cf (patch)
tree35fdad12a42169e1a6627a0c5474b0c6c70fe944 /src/plugins/git/gitplugin.cpp
parentfe25ae993593a79a232767f17a3014e701831a9c (diff)
downloadqt-creator-7c5b19ebf4f4909a452ee78abe79e60e4d12a2cf.tar.gz
Revert "Git: Use a single filename for log"
Breaks compilation This reverts commit a05ea7113368a807057410b84d7ef21409d818af Change-Id: I713f06a1fe1ff24f4721cda082fb732dc3f5c270 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git/gitplugin.cpp')
-rw-r--r--src/plugins/git/gitplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp
index 1692b780d2..6801a97390 100644
--- a/src/plugins/git/gitplugin.cpp
+++ b/src/plugins/git/gitplugin.cpp
@@ -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()