forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.7'
Conflicts: qtcreator.pri qtcreator.qbs Change-Id: I84145b02bf4f80848c0c1d762de34738f08bb78f
This commit is contained in:
@@ -949,7 +949,7 @@ void GitPlugin::pull()
|
||||
GitClient::StashGuard stashGuard(state.topLevel(), QLatin1String("Pull"));
|
||||
if (stashGuard.stashingFailed(false) || (rebase && (stashGuard.result() == GitClient::NotStashed)))
|
||||
return;
|
||||
if (!m_gitClient->synchronousPull(state.topLevel(), false))
|
||||
if (!m_gitClient->synchronousPull(state.topLevel(), rebase))
|
||||
stashGuard.preventPop();
|
||||
}
|
||||
|
||||
@@ -1253,6 +1253,7 @@ void GitPlugin::testStatusParsing_data()
|
||||
QTest::newRow("C ") << (CopiedFile | StagedFile) << FileStates(UnknownFileState);
|
||||
QTest::newRow("CM") << (CopiedFile | StagedFile) << FileStates(ModifiedFile);
|
||||
QTest::newRow("CD") << (CopiedFile | StagedFile) << FileStates(DeletedFile);
|
||||
QTest::newRow("??") << FileStates(UntrackedFile) << FileStates(UnknownFileState);
|
||||
|
||||
// Merges
|
||||
QTest::newRow("DD") << (DeletedFile | UnmergedFile | UnmergedUs | UnmergedThem) << FileStates(UnknownFileState);
|
||||
|
Reference in New Issue
Block a user