forked from qt-creator/qt-creator
Git: Avoid duplicate check for modified files
Change-Id: I05e09434944706a61cc079c30d37309eea5019f5 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
5077081319
commit
6c74ef237a
@@ -748,8 +748,6 @@ void GitPlugin::undoFileChanges(bool revertStaging)
|
||||
|
||||
void GitPlugin::undoUnstagedFileChanges()
|
||||
{
|
||||
if (!DocumentManager::saveAllModifiedDocuments())
|
||||
return;
|
||||
undoFileChanges(false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user