| 885 | } |
| 886 | |
| 887 | VcsJob* GitPlugin::tag(const QUrl& repository, const QString& commitMessage, const VcsRevision& rev, const QString& tagName) |
| 888 | { |
| 889 | auto* job = new GitJob(urlDir(repository), this); |
| 890 | *job << "git" << "tag" << "-m" << commitMessage << tagName; |
| 891 | if(rev.revisionValue().isValid()) |
| 892 | *job << rev.revisionValue().toString(); |
| 893 | return job; |
| 894 | } |
| 895 | |
| 896 | VcsJob* GitPlugin::switchBranch(const QUrl &repository, const QString &branch) |
| 897 | { |
nothing calls this directly
no test coverage detected