Commit f778108d authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Dont show commit info label with raw diff

parent d15cc09e
Pipeline #242903 canceled with stage
in 2 minutes and 16 seconds
......@@ -800,7 +800,7 @@ static QString commitInfoFromDiff(const QByteArray &raw)
void DiffWidget::openDiff(const QByteArray &raw)
{
if (m_params.flags & DiffParams::ShowCommitInfo) {
if ((m_params.flags & DiffParams::ShowCommitInfo) && m_style != DiffStyle::Raw) {
m_commitInfo->setText(commitInfoFromDiff(raw));
m_commitInfo->show();
} else {
......
Supports Markdown
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