| 981 | } |
| 982 | |
| 983 | VcsJob* GitPlugin::branches(const QUrl &repository) |
| 984 | { |
| 985 | auto* job = new GitJob(urlDir(repository)); |
| 986 | *job << "git" << "branch" << "-a"; |
| 987 | connect(job, &DVcsJob::readyForParsing, this, &GitPlugin::parseGitBranchOutput); |
| 988 | return job; |
| 989 | } |
| 990 | |
| 991 | void GitPlugin::parseGitBranchOutput(DVcsJob* job) |
| 992 | { |