forked from qt-creator/qt-creator
Git: Support reverting unmerged files
Change-Id: I8b974cb6ec620b303f9b1918af43e6672460f030 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
cda1b6d246
commit
4f079fe17e
@@ -205,7 +205,7 @@ QStringList CommitData::filterFiles(const FileStates &state) const
|
||||
{
|
||||
QStringList result;
|
||||
foreach (const StateFilePair &p, files) {
|
||||
if (state == p.first)
|
||||
if (state == (p.first & ~(UnmergedFile | UnmergedUs | UnmergedThem)))
|
||||
result.append(p.second);
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user