Verified Commit e7552d38 authored by Mufeed Ali's avatar Mufeed Ali
Browse files

gitblame: Don't return error on untracked files

parent e6d75631
Pipeline #123161 passed with stage
in 4 minutes and 21 seconds
......@@ -320,7 +320,7 @@ void KateGitBlamePluginView::blameFinished(int exitCode, QProcess::ExitStatus ex
const auto error = m_blameInfoProc.readAllStandardError();
// Ignore, this repo doesn't have any commits or not a repo
if (error.startsWith("fatal: no such ref: HEAD") || error.startsWith("fatal: not a git repository")) {
if (error.startsWith("fatal: no such ref: HEAD") || error.startsWith("fatal: not a git repository") || error.startsWith("fatal: no such path ")) {
return;
}
......
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