Commit 3c6893ff authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Set the type for git add jobs

parent f668df8d
......@@ -301,6 +301,7 @@ VcsJob* GitPlugin::add(const KUrl::List& localLocations, KDevelop::IBasicVersion
return errorsFound(i18n("Did not specify the list of files"), OutputJob::Verbose);
DVcsJob* job = new GitJob(dotGitDirectory(localLocations.front()), this);
job->setType(VcsJob::Add);
*job << "git" << "add" << "--" << (recursion == IBasicVersionControl::Recursive ? localLocations : preventRecursion(localLocations));
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