Git: InstantBlame: Improve logging output

Makes it easier to copy the command line for manual testing.

Change-Id: I96b6cad13466551606aaa5182e7debf9c8296f5c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2024-09-08 20:14:04 +02:00
committed by André Hartmann
parent 18205d6235
commit cda56c665c

View File

@@ -423,7 +423,7 @@ void InstantBlame::perform()
if (settings().instantBlameIgnoreLineMoves()) if (settings().instantBlameIgnoreLineMoves())
options.append("-M"); options.append("-M");
options.append({"-L", lineString, "--", filePath.toString()}); options.append({"-L", lineString, "--", filePath.toString()});
qCDebug(log) << "Running git" << options; qCDebug(log) << "Running git" << options.join(' ');
gitClient().vcsExecWithHandler(workingDirectory, options, this, gitClient().vcsExecWithHandler(workingDirectory, options, this,
commandHandler, RunFlags::NoOutput, m_codec); commandHandler, RunFlags::NoOutput, m_codec);
} }