forked from qt-creator/qt-creator
Git: Remove args from diff
They are unused Change-Id: I6cff3c6028208f1c7c0937c53b3f5090dae719a6 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
fd183531dd
commit
bcf9c7621f
@@ -717,7 +717,7 @@ GitVersionControl *GitPlugin::gitVersionControl() const
|
||||
|
||||
void GitPlugin::submitEditorDiff(const QStringList &unstaged, const QStringList &staged)
|
||||
{
|
||||
m_gitClient->diff(m_submitRepository, QStringList(), unstaged, staged);
|
||||
m_gitClient->diff(m_submitRepository, unstaged, staged);
|
||||
}
|
||||
|
||||
void GitPlugin::submitEditorMerge(const QStringList &unmerged)
|
||||
@@ -737,21 +737,21 @@ void GitPlugin::diffCurrentFile()
|
||||
{
|
||||
const VcsBase::VcsBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasFile(), return);
|
||||
m_gitClient->diff(state.currentFileTopLevel(), QStringList(), state.relativeCurrentFile());
|
||||
m_gitClient->diff(state.currentFileTopLevel(), state.relativeCurrentFile());
|
||||
}
|
||||
|
||||
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()
|
||||
{
|
||||
const VcsBase::VcsBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasTopLevel(), return);
|
||||
m_gitClient->diff(state.topLevel(), QStringList(), QStringList());
|
||||
m_gitClient->diff(state.topLevel(), QStringList());
|
||||
}
|
||||
|
||||
void GitPlugin::logFile()
|
||||
|
Reference in New Issue
Block a user