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