Runs child process and allows to read the result. * Multiple processes can be run for parallel processing. */
| 1118 | * Multiple processes can be run for parallel processing. |
| 1119 | */ |
| 1120 | auto gitShow(const std::string & hash) |
| 1121 | { |
| 1122 | std::string command = fmt::format( |
| 1123 | "git show --raw --pretty='format:%ct%x00%aN%x00%P%x00%s%x00' --patch --unified=0 {}", |
| 1124 | hash); |
| 1125 | |
| 1126 | return ShellCommand::execute(command); |
| 1127 | } |
| 1128 | |
| 1129 | |
| 1130 | /** Obtain the list of commits and process them. |