From 35eb832d10b25ad97fd0474fe61074693cc1b0b6 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Wed, 2 Apr 2008 20:52:17 +0200 Subject: [PATCH] Don't allow to unrecord past the branch point --- commits/CommitsCursor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commits/CommitsCursor.cpp b/commits/CommitsCursor.cpp index 73847db..a34f98d 100644 --- a/commits/CommitsCursor.cpp +++ b/commits/CommitsCursor.cpp @@ -55,6 +55,8 @@ int CommitsCursor::back(Scope scope) if (c.isValid()) { m_current = c; m_currentIndex--; + if (m_current == m_firstInBranch) + m_done = true; } return m_currentIndex; } -- 2.11.4.GIT