forked from qt-creator/qt-creator
Git: Add on-demand branches expanding
Make "branches expanding" on demand and asynchronous. After "git show" there is clickable text: "Branches: <Expand>" in description. If user clicks this text then branches for commit is triggered and done asynchronously. Task-number: QTCREATORBUG-11293 Done-with: Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Change-Id: I772cfef823d3f95e2b3060dfb5973157d81fc11a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
281aa9e0d6
commit
d6583f0f47
@@ -241,8 +241,6 @@ public:
|
||||
QString synchronousTopRevision(const QString &workingDirectory, QString *errorMessage = 0);
|
||||
void synchronousTagsForCommit(const QString &workingDirectory, const QString &revision,
|
||||
QString &precedes, QString &follows);
|
||||
QStringList synchronousBranchesForCommit(const QString &workingDirectory,
|
||||
const QString &revision);
|
||||
bool isRemoteCommit(const QString &workingDirectory, const QString &commit);
|
||||
bool isFastForwardMerge(const QString &workingDirectory, const QString &branch);
|
||||
|
||||
@@ -349,6 +347,7 @@ private slots:
|
||||
void slotChunkActionsRequested(QMenu *menu, int diffFileIndex, int chunkIndex);
|
||||
void slotStageChunk();
|
||||
void slotUnstageChunk();
|
||||
void branchesForCommit(const QString &revision);
|
||||
|
||||
private:
|
||||
QString makePatch(int diffFileIndex, int chunkIndex, bool revert) const;
|
||||
|
||||
Reference in New Issue
Block a user