Commit 56221a1f authored by Evgeniy Ivanov's avatar Evgeniy Ivanov
Browse files

Quick and dirty branching support for git: user doesn't get messages about...

Quick and dirty branching support for git: user doesn't get messages about files been changed, but it closes all opened files. reloadModel() couses messages, so I don't use it
parent 8a9bad48
......@@ -23,8 +23,11 @@
#include <KPluginFactory>
#include <KPluginLoader>
#include <klocalizedstring.h>
#include <QDebug>
#include <icore.h>
#include <iprojectcontroller.h>
#include <interfaces/iproject.h>
#include "vcsjob.h"
#include "vcsrevision.h"
......@@ -60,6 +63,7 @@ KDevelop::VcsJob*
unsigned long limit)
{
Q_UNUSED(limit)
Q_UNUSED(rev)
DVCSjob* job = d->m_exec->log(localLocation);
return job;
......@@ -76,10 +80,9 @@ KDevelop::VcsJob*
KDevelop::VcsJob*
GitPlugin::checkout(const QString &localLocation,
const QString &repo)
const QString &branch)
{
DVCSjob* job = d->m_exec->checkout(localLocation, repo);
DVCSjob* job = d->m_exec->checkout(localLocation, branch);
return job;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment