| 1171 | |
| 1172 | |
| 1173 | bool GitRepository::renRemote(QString oldName, QString newName) |
| 1174 | // ---------------------------------------------------------------------------- |
| 1175 | // Rename a remote |
| 1176 | // ---------------------------------------------------------------------------- |
| 1177 | { |
| 1178 | Q_ASSERT(!noLocal); |
| 1179 | if(noLocal) |
| 1180 | return false; |
| 1181 | |
| 1182 | waitForAsyncProcessCompletion(); |
| 1183 | GitProcess cmd(command(), QStringList("remote") << "rename" |
| 1184 | << oldName << newName, path); |
| 1185 | return cmd.done(&errors); |
| 1186 | } |
| 1187 | |
| 1188 | |
| 1189 | QList<GitRepository::Commit> GitRepository::history(QString branch, int max) |