| 703 | } |
| 704 | |
| 705 | KDevelop::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 | |
| 715 | void GitPlugin::parseGitBlameOutput(DVcsJob *job) |
| 716 | { |