Git: Ignore irrelevant changes in instant blame

Optionally ignore whitespace changes or line
moves to only show the last real code changes.

Feature is disabled by default.

Fixes: QTCREATORBUG-29378
Change-Id: Ia2d5ad926f4098554b1ed3365bffadd4e2063e8e
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Andre Hartmann
2023-07-13 09:10:09 +02:00
committed by André Hartmann
parent 497bcbbf97
commit e49ac10cb1
3 changed files with 31 additions and 5 deletions

View File

@@ -38,6 +38,8 @@ public:
Utils::IntegerAspect lastResetIndex{this};
Utils::BoolAspect refLogShowDate{this};
Utils::BoolAspect instantBlame{this};
Utils::BoolAspect instantBlameIgnoreSpaceChanges{this};
Utils::BoolAspect instantBlameIgnoreLineMoves{this};
mutable Utils::FilePath resolvedBinPath;
mutable bool tryResolve = true;