Changing diff editor's parameters shouldn't switch diff type

Task-number: QTCREATORBUG-10221

Change-Id: I215460b11fa02605151523c8d4439b369fe7c3aa
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
jkobus
2013-09-25 10:34:49 +02:00
committed by Jarek Kobus
parent d15c6bba28
commit f8799a5583

View File

@@ -594,7 +594,8 @@ public:
void executeCommand()
{
m_client->diff(m_workingDirectory, m_unstagedFileNames, m_stagedFileNames);
m_client->diff(m_workingDirectory, m_unstagedFileNames, m_stagedFileNames,
GitClient::SimpleTextDiffEditor);
}
private:
@@ -614,7 +615,7 @@ public:
void executeCommand()
{
m_client->diff(m_workingDirectory, m_fileName);
m_client->diff(m_workingDirectory, m_fileName, GitClient::SimpleTextDiffEditor);
}
private:
@@ -633,7 +634,8 @@ public:
void executeCommand()
{
m_client->diffBranch(m_workingDirectory, baseArguments(), m_branchName);
m_client->diffBranch(m_workingDirectory, baseArguments(), m_branchName,
GitClient::SimpleTextDiffEditor);
}
private:
@@ -668,7 +670,8 @@ public:
void executeCommand()
{
m_client->show(m_workingDirectory, m_id, baseArguments());
m_client->show(m_workingDirectory, m_id, baseArguments(), QString(),
GitClient::SimpleTextDiffEditor);
}
private: