Commit 2d4ea0b6 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Git: Shorten grep tree description

Task-number: QTCREATORBUG-15743
Change-Id: I2f18bef84a8284d03d68797d1fb70165df6628d4
Reviewed-by: default avatarLeena Miettinen <>
parent a8c2abea
......@@ -208,10 +208,9 @@ GitGrep::GitGrep()
"that are managed by Git."));
m_treeLineEdit = new FancyLineEdit;
tr("Tree: add reference here or leave empty to search through the file system)"));
tr("Reference can be HEAD, tag, local or remote branch, or a commit hash."));
m_treeLineEdit->setPlaceholderText(tr("Tree (optional)"));
m_treeLineEdit->setToolTip(tr("Can be HEAD, tag, local or remote branch, or a commit hash.\n"
"Leave empty to search through the file system."));
const QRegularExpression refExpression(QLatin1String("[\\S]*"));
m_treeLineEdit->setValidator(new QRegularExpressionValidator(refExpression, this));
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