Skip to content

Commit d6bb244

Browse files
author
Ray Burgemeestre
committed
Small fix: don't forget to add the last group if it was still constructing.
1 parent 0793fc7 commit d6bb244

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/git-bc-show-eligible

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ for commit in find_unpicked(repo, from_commit, to_commit, since_commit, args.all
120120
groups.append(current_group)
121121
current_group = [commit_string]
122122

123+
if current_group:
124+
groups.append(current_group)
125+
123126
for group in groups:
124127
merge = group[0]
125128
child_commits = group[1:-1]

0 commit comments

Comments
 (0)