diff --git a/src/TDB.cpp b/src/TDB.cpp index f868d1da2..aeb715edf 100644 --- a/src/TDB.cpp +++ b/src/TDB.cpp @@ -1387,7 +1387,7 @@ void TDB::merge (const std::string& mergeFile) // nothing happend on the local branch either // break, to suppress autopush - if (lit != l.end ()) + if (lit == l.end ()) { mods.clear (); lmods.clear ();