lib/gitlab_git/repository.rb in gitlab_git-4.0.0 vs lib/gitlab_git/repository.rb in gitlab_git-4.1.0

- old
+ new

@@ -198,11 +198,11 @@ def merge_base_commit(from, to) grit.git.native(:merge_base, {}, [to, from]).strip end - def diff(from, to) - grit.diff(from, to) + def diff(from, to, *paths) + grit.diff(from, to, *paths) end # Returns commits collection # # Ex.