| 150 | } |
| 151 | |
| 152 | static std::string OverlayConsoleLine(const std::string& oldLine, const std::string& newLine) |
| 153 | { |
| 154 | if (newLine.size() >= oldLine.size()) |
| 155 | return newLine; |
| 156 | |
| 157 | std::string result = oldLine; |
| 158 | std::copy(newLine.begin(), newLine.end(), result.begin()); |
| 159 | return result; |
| 160 | } |
| 161 | |
| 162 | void CGitCliOutputParser::EraseVisiblePendingIfNeeded(EmittedLines& out) |
| 163 | { |
no test coverage detected