forked from qt-creator/qt-creator
VCS: Capture hashes with trailing caret
The Push-to-Gerrit dialog calls git branch -r --contains 3fa72ff^ for example. Change-Id: I6c0bd792dd5bf85dec61fa576fbd8bba3aa9f06d Reviewed-by: Miklós Márton <martonmiklosqdev@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
c6e03959d8
commit
098ee51a9b
@@ -38,7 +38,7 @@ VcsOutputFormatter::VcsOutputFormatter() :
|
||||
m_regexp(
|
||||
"(https?://\\S*)" // https://codereview.org/c/1234
|
||||
"|(v[0-9]+\\.[0-9]+\\.[0-9]+[\\-A-Za-z0-9]*)" // v0.1.2-beta3
|
||||
"|([0-9a-f]{6,}(?:\\.\\.[0-9a-f]{6,})?)") // 789acf or 123abc..456cde
|
||||
"|([0-9a-f]{6,}(?:\\.\\.[0-9a-f]{6,}|\\^)?)") // 789acf^ or 123abc..456cde
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user