| 81 | } |
| 82 | |
| 83 | GitExecResult GitBase::getLastCommit() const |
| 84 | { |
| 85 | QLog_Trace("Git", "Getting last commit"); |
| 86 | |
| 87 | const auto cmd = QString("git rev-parse HEAD"); |
| 88 | |
| 89 | QLog_Trace("Git", QString("Getting last commit: {%1}").arg(cmd)); |
| 90 | |
| 91 | const auto ret = run(cmd); |
| 92 | |
| 93 | return ret; |
| 94 | } |
no test coverage detected