Commit 1b83666d authored by Tobias Hunger's avatar Tobias Hunger
Browse files

IVcsControl: Add additionalToolsPath()

Add a method for a VCS to tell creator where it installed additional
tools that it came with. This is useful for e.g. git on windows
which ships with a nice bunch of unix tools.

Change-Id: Ibc5f2fb57307bfadad140bd57d83917e56d57153
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
parent 83ad1724
......@@ -33,6 +33,7 @@
#include <utils/qtcassert.h>
#include <QFileInfo>
#include <QStringList>
\class Core::IVersionControl::TopicCache
......@@ -76,6 +77,11 @@ QString IVersionControl::vcsMakeWritableText() const
return QString();
QStringList IVersionControl::additionalToolsPath() const
return QStringList();
QString IVersionControl::vcsTopic(const QString &topLevel)
return m_topicCache ? m_topicCache->topic(topLevel) : QString();
......@@ -198,6 +198,12 @@ public:
virtual QString vcsMakeWritableText() const;
* Return a list of paths where tools that came with the VCS may be installed.
* This is helpful on windows where e.g. git comes with a lot of nice unix tools.
virtual QStringList additionalToolsPath() const;
void repositoryChanged(const QString &repository);
void filesChanged(const QStringList &files);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment