| 119 | } |
| 120 | |
| 121 | void GitClientPrivate::gitLog(const QString &workspace, const QString &filePath, bool isProject) |
| 122 | { |
| 123 | auto cmd = readyWork(GitLog, workspace, filePath); |
| 124 | QStringList arguments = { "log", DecorateOption, |
| 125 | "-n", QString::number(LogMaxCount), |
| 126 | "--patience", "--ignore-space-change", |
| 127 | ColorOption, normalLogArguments() }; |
| 128 | |
| 129 | if (!isProject) |
| 130 | arguments << "--follow" |
| 131 | << "--" |
| 132 | << filePath; |
| 133 | |
| 134 | cmd->addJob(GitBinaryPath, arguments); |
| 135 | cmd->start(); |
| 136 | } |
| 137 | |
| 138 | void GitClientPrivate::blameFile(const QString &workspace, const QString &filePath) |
| 139 | { |
no test coverage detected