forked from qt-creator/qt-creator
Git: Support case-insensitive grep/pickaxe
Change-Id: Ie3da0f5cca2bd3ffa658e3adbba0b1b86a2911d9 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
6d8efefbe5
commit
b14351dab8
@@ -1062,6 +1062,9 @@ void GitClient::log(const QString &workingDirectory, const QString &fileName,
|
||||
if (!pickaxeValue.isEmpty())
|
||||
arguments << "-S" << pickaxeValue;
|
||||
|
||||
if ((!grepValue.isEmpty() || !pickaxeValue.isEmpty()) && !editor->caseSensitive())
|
||||
arguments << "-i";
|
||||
|
||||
if (!fileName.isEmpty())
|
||||
arguments << "--" << fileName;
|
||||
|
||||
|
Reference in New Issue
Block a user