lib/milestoner/commits/collector.rb in milestoner-18.6.0 vs lib/milestoner/commits/collector.rb in milestoner-18.7.0
- old
+ new
@@ -18,9 +18,10 @@
def slice min, max
case [min, max]
in MIN, MAX then git.tag_last.bind { |tag| git.commits "#{tag}..#{max}" }
in String, String then git.commits "#{min}..#{max}"
+ in nil, String then git.commits max
else Failure "Invalid minimum and/or maximum range: #{min}..#{max}."
end
end
def all = git.commits