forked from qt-creator/qt-creator
Git: Support move/copy detection for blame
Fixes: QTCREATORBUG-20462 Change-Id: Ib2ea14de6a60691a1ed27cd07aac282557d69015 Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
committed by
Orgad Shaneh
parent
202d40f256
commit
c415a03cea
@@ -588,6 +588,15 @@ public:
|
||||
tr("Ignore whitespace only changes.")),
|
||||
settings.boolPointer(GitSettings::ignoreSpaceChangesInBlameKey));
|
||||
|
||||
const QList<ComboBoxItem> logChoices = {
|
||||
ComboBoxItem(tr("No Move Detection"), ""),
|
||||
ComboBoxItem(tr("Detect Moves Within File"), "-M"),
|
||||
ComboBoxItem(tr("Detect Moves Between Files"), "-M -C"),
|
||||
ComboBoxItem(tr("Detect Moves and Copies Between Files"), "-M -C -C")
|
||||
};
|
||||
mapSetting(addComboBox({}, logChoices),
|
||||
settings.intPointer(GitSettings::blameMoveDetection));
|
||||
|
||||
addButton(tr("Reload"), Utils::Icons::RELOAD.icon());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user