summaryrefslogtreecommitdiffstats
path: root/pkg/gui/presentation
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-26 15:17:11 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-26 16:52:20 +1100
commitca7cfc32322f016a430ecbf87e3e638d1a02cfc1 (patch)
tree446d4160ba4162c575009cb4d79d38cf779427e9 /pkg/gui/presentation
parentdc765c416624d19e9d1c9a8aff10c75e08e30105 (diff)
only show commits from start ref if bad commit is reachable from there
Diffstat (limited to 'pkg/gui/presentation')
-rw-r--r--pkg/gui/presentation/commits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/presentation/commits.go b/pkg/gui/presentation/commits.go
index 7f5b2e5cd..99ab96750 100644
--- a/pkg/gui/presentation/commits.go
+++ b/pkg/gui/presentation/commits.go
@@ -175,7 +175,7 @@ func getBisectStatus(commitSha string, bisectInfo *git_commands.BisectInfo, bise
return BisectStatusSkipped, bisectProgress
}
} else {
- if bisectProgress == InbetweenCommits {
+ if bisectProgress == InbetweenCommits && bisectInfo.Bisecting() {
return BisectStatusCandidate, bisectProgress
} else {
return BisectStatusNone, bisectProgress