diff options
Diffstat (limited to 'src/plugins/git/gitversioncontrol.cpp')
-rw-r--r-- | src/plugins/git/gitversioncontrol.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/git/gitversioncontrol.cpp b/src/plugins/git/gitversioncontrol.cpp index eaa8c77370..692e7fd38e 100644 --- a/src/plugins/git/gitversioncontrol.cpp +++ b/src/plugins/git/gitversioncontrol.cpp @@ -140,7 +140,12 @@ QString GitVersionControl::vcsGetRepositoryURL(const QString &directory) return m_client->vcsGetRepositoryURL(directory); } -/* Snapshots are implement using stashes, relying on stash messages for +QString GitVersionControl::vcsTopic(const QString &directory) +{ + return m_client->synchronousBranch(directory); +} + +/* Snapshots are implemented using stashes, relying on stash messages for * naming as the actual stash names (stash{n}) are rotated as one adds stashes. * Note that the snapshot interface does not care whether we have an unmodified * repository state, in which case git refuses to stash. |