| 931 | } |
| 932 | |
| 933 | VcsJob* GitPlugin::deleteBranch(const QUrl& repository, const QString& branchName) |
| 934 | { |
| 935 | auto* job = new GitJob(urlDir(repository), this, OutputJob::Silent); |
| 936 | *job << "git" << "branch" << "-D" << branchName; |
| 937 | connect(job, &DVcsJob::readyForParsing, this, &GitPlugin::parseGitCurrentBranch); |
| 938 | return job; |
| 939 | } |
| 940 | |
| 941 | VcsJob* GitPlugin::renameBranch(const QUrl& repository, const QString& oldBranchName, const QString& newBranchName) |
| 942 | { |