lib/git-cleanup/branch.rb in git-cleanup-0.1.1 vs lib/git-cleanup/branch.rb in git-cleanup-0.1.2

- old
+ new

@@ -19,9 +19,13 @@ end def diff(ref) @repo.git.native(:diff, {}, "#{ref.commit.sha}...#{@ref.commit.sha}") end + + def commits(ref) + @repo.git.native(:log, {}, "#{ref.commit.sha}..#{@ref.commit.sha}") + end def commit @ref.commit end