Skip to content

Commit add9526

Browse files
committed
Fix exit condition for after date criteria
1 parent 9afa5af commit add9526

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scm/git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (l commitLimiter) filter(c *git.Commit, cnt int) (bool, bool, error) {
164164
}
165165

166166
if l.HasAfter && !c.Author().When.After(l.After) {
167-
return false, true, nil
167+
return false, false, nil
168168
}
169169

170170
if l.HasAuthor && !strings.Contains(c.Author().Name, l.Author) {

0 commit comments

Comments
 (0)