Commit e2c32e27 authored by Kåre Särs's avatar Kåre Särs
Browse files

Fix git blame for files with DOS end of line

parent 768f7a40
Pipeline #107179 passed with stage
in 3 minutes and 15 seconds
......@@ -265,7 +265,8 @@ void KateGitBlamePluginView::showCommitInfo(const QString &hash, KTextEditor::Vi
void KateGitBlamePluginView::blameFinished(int /*exitCode*/, QProcess::ExitStatus /*exitStatus*/)
{
const QByteArray out = m_blameInfoProc.readAllStandardOutput();
QByteArray out = m_blameInfoProc.readAllStandardOutput();
out.replace("\r", ""); // KTextEditor removes all \r characters in the internal buffers
// printf("recieved output: %d for: git %s\n", out.size(), qPrintable(m_blameInfoProc.arguments().join(QLatin1Char(' '))));
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment