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>
This commit is contained in:
Orgad Shaneh
2018-10-28 09:01:52 +02:00
committed by Orgad Shaneh
parent ce15a0f447
commit 8278b4a24d

View File

@@ -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);