| 475 | } |
| 476 | |
| 477 | bool GitCache::checkSha(const QString &originalSha, const QString ¤tSha) const |
| 478 | { |
| 479 | if (originalSha == currentSha) |
| 480 | return true; |
| 481 | |
| 482 | if (const auto iter = mCommitsMap.find(currentSha); iter != mCommitsMap.cend()) |
| 483 | return checkSha(originalSha, iter->firstParent()); |
| 484 | |
| 485 | return false; |
| 486 | } |
| 487 | |
| 488 | void GitCache::clearInternalData() |
| 489 | { |
nothing calls this directly
no test coverage detected