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

Method log

plugins/git/gitplugin.cpp:674–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672}
673
674VcsJob* GitPlugin::log(const QUrl& localLocation,
675 const KDevelop::VcsRevision& src, const KDevelop::VcsRevision& dst)
676{
677 DVcsJob* job = new GitJob(dotGitDirectory(localLocation), this, KDevelop::OutputJob::Silent);
678 job->setType(VcsJob::Log);
679 *job << "git" << "log" << "--date=raw" << "--name-status" << "-M80%" << "--follow" << "--format=medium" << "--no-decorate";
680 QString rev = revisionInterval(dst, src);
681 if(!rev.isEmpty())
682 *job << rev;
683 *job << "--" << localLocation;
684 connect(job, &DVcsJob::readyForParsing, this, &GitPlugin::parseGitLogOutput);
685 return job;
686}
687
688
689VcsJob* GitPlugin::log(const QUrl& localLocation, const KDevelop::VcsRevision& rev, unsigned long int limit)

Callers 9

revHistoryMethod · 0.45
testStashMethod · 0.45
util.jsFile · 0.45
__builtin_dom.jsFile · 0.45
console.jsFile · 0.45
prototypes.jsFile · 0.45
js_variable_use.jsFile · 0.45

Calls 6

dotGitDirectoryFunction · 0.85
revisionIntervalFunction · 0.85
toRevisionNameFunction · 0.70
QStringClass · 0.50
setTypeMethod · 0.45
isEmptyMethod · 0.45

Tested by 3

revHistoryMethod · 0.36
testStashMethod · 0.36