| 672 | } |
| 673 | |
| 674 | VcsJob* 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 | |
| 689 | VcsJob* GitPlugin::log(const QUrl& localLocation, const KDevelop::VcsRevision& rev, unsigned long int limit) |