~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to src/plugins/coreplugin/vcsmanager.cpp

  • Committer: Timo Jyrinki
  • Date: 2013-12-02 09:16:15 UTC
  • mfrom: (1.1.29)
  • Revision ID: timo.jyrinki@canonical.com-20131202091615-xbj1os1f604ber1m
New upstream release candidate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
        const QChar slash = QLatin1Char('/');
278
278
        const StringVersionControlPairs::const_iterator cend = allThatCanManage.constEnd();
279
279
        for (StringVersionControlPairs::const_iterator i = allThatCanManage.constBegin(); i != cend; ++i) {
 
280
            // If topLevel was already cached for another VC, skip this one
 
281
            if (tmpDir.count() < i->first.count())
 
282
                continue;
280
283
            d->cache(i->second, i->first, tmpDir);
281
284
            tmpDir = i->first;
282
285
            const int slashPos = tmpDir.lastIndexOf(slash);