forked from qt-creator/qt-creator
Git: Support change links on commit editor
Useful for commit messages with "reverts <hash>" for example. Can later be extended for interactive rebase Change-Id: Ibf77433ecddfacbd8d443636ddbc406bda474aa7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b90e3bbd8b
commit
05a6fc48ba
@@ -60,6 +60,7 @@ private slots:
|
||||
|
||||
private:
|
||||
void init();
|
||||
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
|
||||
QSet<QString> annotationChanges() const;
|
||||
QString changeUnderCursor(const QTextCursor &) const;
|
||||
VcsBase::BaseAnnotationHighlighter *createAnnotationHighlighter(const QSet<QString> &changes, const QColor &bg) const;
|
||||
@@ -68,6 +69,7 @@ private:
|
||||
bool isValidRevision(const QString &revision) const;
|
||||
void addChangeActions(QMenu *menu, const QString &change);
|
||||
QString revisionSubject(const QTextBlock &inBlock) const;
|
||||
bool supportChangeLinks() const;
|
||||
|
||||
mutable QRegExp m_changeNumberPattern;
|
||||
QString m_currentChange;
|
||||
|
||||
Reference in New Issue
Block a user