From 8278b4a24d11b0bb6dcd571287dcd5e58ad4093c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 28 Oct 2018 09:01:52 +0200 Subject: [PATCH] Git: Remove wrong soft assertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no restriction of renaming the current branch. Change-Id: I51f3f8d69d1fb108a23a9e9f98364361828531d3 Reviewed-by: André Hartmann --- src/plugins/git/branchview.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/git/branchview.cpp b/src/plugins/git/branchview.cpp index 9268d3d6e05..52fe887616c 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);