forked from qt-creator/qt-creator
Git: Show active branch next to command in progress
Revised topic is "master (MERGING)" instead of MERGING This should also fix topic getting stuck as REBASING Change-Id: I934643f5b4e632318495f141536c666f775bd15d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
969f9628db
commit
afcb9b2c41
@@ -124,7 +124,11 @@ QString GitVersionControl::vcsGetRepositoryURL(const QString &directory)
|
||||
|
||||
QString GitVersionControl::vcsTopic(const QString &directory)
|
||||
{
|
||||
return m_client->synchronousTopic(directory);
|
||||
QString topic = m_client->synchronousTopic(directory);
|
||||
const QString commandInProgress = m_client->commandInProgressDescription(directory);
|
||||
if (!commandInProgress.isEmpty())
|
||||
topic += QLatin1String(" (") + commandInProgress + QLatin1Char(')');
|
||||
return topic;
|
||||
}
|
||||
|
||||
/* Snapshots are implemented using stashes, relying on stash messages for
|
||||
|
||||
Reference in New Issue
Block a user