aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/iversioncontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/iversioncontrol.cpp')
-rw-r--r--src/plugins/coreplugin/iversioncontrol.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/iversioncontrol.cpp b/src/plugins/coreplugin/iversioncontrol.cpp
index dd3744e223..5dee9e2d27 100644
--- a/src/plugins/coreplugin/iversioncontrol.cpp
+++ b/src/plugins/coreplugin/iversioncontrol.cpp
@@ -37,7 +37,9 @@
/*!
\class Core::IVersionControl::TopicCache
+ \inheaderfile coreplugin/iversioncontrol.h
\inmodule QtCreator
+
\brief The TopicCache class stores a cache which maps a directory to a topic.
A VCS topic is typically the current active branch name, but it can also have other
@@ -199,6 +201,13 @@ void IVersionControl::fillLinkContextMenu(QMenu *, const QString &, const QStrin
{
}
+bool IVersionControl::handleLink(const QString &workingDirectory, const QString &reference)
+{
+ QTC_ASSERT(!reference.isEmpty(), return false);
+ vcsDescribe(workingDirectory, reference);
+ return true;
+}
+
} // namespace Core
#if defined(WITH_TESTS)