lib/gitlab_git/repository.rb
def diff(from, to, options = {}, *paths)
        diff_patches(from, to, options, *paths).map do |p|
          Gitlab::Git::Diff.new(p)
        end
      end
# Return an array of Diff objects that represent the diff
# between +from+ and +to+.  See Diff::filter_diff_options for the allowed
# diff options.  The +options+ hash can also include :break_rewrites to
# split larger rewrites into delete/add pairs.
Return an array of Diff objects that represent the diff
between +from+ and +to+.  See Diff::filter_diff_options for the allowed
diff options.  The +options+ hash can also include :break_rewrites to
split larger rewrites into delete/add pairs.
Return an array of Diff objects that represent the diff between + from + and + to + . See Diff :: filter_diff_options for the allowed diff options . The + options + hash can also include : break_rewrites to split larger rewrites into delete / add pairs .
def diff(from, to, options = {}, *paths)
        diff_patches(from, to, options, *paths).map do |p|
          Gitlab::Git::Diff.new(p)
        end
      end
def diff ( from , to , options = { } , * paths ) diff_patches ( from , to , options , * paths ) . map do | p | Gitlab :: Git :: Diff . new ( p ) end end
Return an array of Diff objects that represent the diff
between +from+ and +to+.
Return an array of Diff objects that represent the diff between + from + and + to + .
from
to
options
paths