aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-10-28 09:01:52 +0200
committerOrgad Shaneh <orgads@gmail.com>2018-10-28 11:51:52 +0000
commit8278b4a24d11b0bb6dcd571287dcd5e58ad4093c (patch)
treefc98d1fdc2cd759f0fe591261ecf9b4f01c2a057 /src/plugins/git
parentce15a0f44799c4d04ea4898f48ed3c06b2e6770c (diff)
Git: Remove wrong soft assertion
There is no restriction of renaming the current branch. Change-Id: I51f3f8d69d1fb108a23a9e9f98364361828531d3 Reviewed-by: André Hartmann <aha_1980@gmx.de>
Diffstat (limited to 'src/plugins/git')
-rw-r--r--src/plugins/git/branchview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/git/branchview.cpp b/src/plugins/git/branchview.cpp
index 9268d3d6e0..52fe887616 100644
--- a/src/plugins/git/branchview.cpp
+++ b/src/plugins/git/branchview.cpp
@@ -428,7 +428,6 @@ bool BranchView::remove()
bool BranchView::rename()
{
const QModelIndex selected = selectedIndex();
- QTC_CHECK(selected != m_model->currentBranch());
const bool isTag = m_model->isTag(selected);
QTC_CHECK(m_model->isLocal(selected) || isTag);