MCPcopy Create free account
hub / github.com/KDE/kdevelop / annotate

Method annotate

plugins/git/gitplugin.cpp:705–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705KDevelop::VcsJob* GitPlugin::annotate(const QUrl &localLocation, const KDevelop::VcsRevision&)
706{
707 DVcsJob* job = new GitJob(dotGitDirectory(localLocation), this, KDevelop::OutputJob::Silent);
708 job->setType(VcsJob::Annotate);
709 *job << "git" << "blame" << "--porcelain" << "-w";
710 *job << "--" << localLocation;
711 connect(job, &DVcsJob::readyForParsing, this, &GitPlugin::parseGitBlameOutput);
712 return job;
713}
714
715void GitPlugin::parseGitBlameOutput(DVcsJob *job)
716{

Callers 2

annotationMethod · 0.45
testAnnotationMethod · 0.45

Calls 2

dotGitDirectoryFunction · 0.85
setTypeMethod · 0.45

Tested by 1

testAnnotationMethod · 0.36