| 74 | } |
| 75 | |
| 76 | int CommitInfo::parentsCount() const |
| 77 | { |
| 78 | auto count = mParentsSha.count(); |
| 79 | |
| 80 | if (count > 0 && mParentsSha.contains(CommitInfo::INIT_SHA)) |
| 81 | --count; |
| 82 | |
| 83 | return count; |
| 84 | } |
| 85 | |
| 86 | QString CommitInfo::firstParent() const |
| 87 | { |
no test coverage detected