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

Allow comparing remote branches

parent d8769896
......@@ -811,7 +811,8 @@ void GitWidget::buildMenu()
m_gitMenu->addAction(i18n("Compare branch with ..."), this, [this] {
BranchesDialog bd(m_mainWin->window(), m_pluginView, m_project->baseDir());
using GitUtils::RefType;
bd.openDialog(static_cast<GitUtils::RefType>(RefType::Head | RefType::Remote));
QString branch = bd.branch();
branchCompareFiles(branch, QString());
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