# File lib/capistrano/recipes/deploy/scm/git.rb, line 211 def diff(from, to=nil) return scm :diff, from unless to scm :diff, "#{from}..#{to}" end