Skip to content

Commit

Permalink
Fixed --limit logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanwills-optus committed Jun 10, 2018
1 parent c21fa37 commit 764df90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/group-git
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ sub main {
next if $exclude{$project};
next if %include && !$include{$project};
next if !tagged($conf, $opt->tag, $project, $group->repos->{$project});
last if !$opt->limit || $total++ >= $opt->limit;
last if $opt->limit && $total++ >= $opt->limit;

push @threads, {
project => $project,
Expand Down

0 comments on commit 764df90

Please sign in to comment.