| 94 | } |
| 95 | |
| 96 | static GitUtils::Branch parseLocalBranch(QLatin1String raw) |
| 97 | { |
| 98 | static const int len = sizeof("refs/heads/") - 1; |
| 99 | return GitUtils::Branch{.name = raw.mid(len), .remote = QString(), .refType = GitUtils::Head, .lastCommit = QString()}; |
| 100 | } |
| 101 | |
| 102 | static GitUtils::Branch parseRemoteBranch(QLatin1String raw) |
| 103 | { |
no test coverage detected