forked from qt-creator/qt-creator
Git: Remove setting for side-by-side diff
Use the diff switcher state as a permanent setting Change-Id: I6c3669090082787ae750596cf3e62973c04d94c3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
003e25d488
commit
63e7fe19b9
@@ -127,12 +127,6 @@ public:
|
||||
StashFlag m_flags;
|
||||
};
|
||||
|
||||
enum DiffEditorType {
|
||||
DefaultDiffEditor, // value taken from settings
|
||||
SideBySideDiffEditor,
|
||||
SimpleTextDiffEditor
|
||||
};
|
||||
|
||||
static const char *stashNamePrefix;
|
||||
|
||||
explicit GitClient(GitSettings *settings);
|
||||
@@ -144,17 +138,13 @@ public:
|
||||
QString findRepositoryForDirectory(const QString &dir);
|
||||
QString findGitDirForRepository(const QString &repositoryDir) const;
|
||||
|
||||
void diff(const QString &workingDirectory,
|
||||
const QString &fileName,
|
||||
DiffEditorType editorType = DefaultDiffEditor);
|
||||
void diff(const QString &workingDirectory, const QString &fileName);
|
||||
void diff(const QString &workingDirectory,
|
||||
const QStringList &unstagedFileNames,
|
||||
const QStringList &stagedFileNames = QStringList(),
|
||||
DiffEditorType editorType = DefaultDiffEditor);
|
||||
const QStringList &stagedFileNames = QStringList());
|
||||
void diffBranch(const QString &workingDirectory,
|
||||
const QStringList &diffArgs,
|
||||
const QString &branchName,
|
||||
DiffEditorType editorType = DefaultDiffEditor);
|
||||
const QString &branchName);
|
||||
void merge(const QString &workingDirectory, const QStringList &unmergedFileNames = QStringList());
|
||||
|
||||
void status(const QString &workingDirectory);
|
||||
@@ -341,8 +331,7 @@ public slots:
|
||||
void show(const QString &source,
|
||||
const QString &id,
|
||||
const QStringList &args = QStringList(),
|
||||
const QString &name = QString(),
|
||||
DiffEditorType editorType = DefaultDiffEditor);
|
||||
const QString &name = QString());
|
||||
void saveSettings();
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user