Merge branch 'remove-unused-argument' into 'master'
Remove unused Gitlab::Git::Commit#to_diff argument See merge request !12466
This commit is contained in:
commit
8a37b4c257
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ module Gitlab
|
|||
# Shows the diff between the commit's parent and the commit.
|
||||
#
|
||||
# Cuts out the header and stats from #to_patch and returns only the diff.
|
||||
def to_diff(options = {})
|
||||
diff_from_parent(options).patch
|
||||
def to_diff
|
||||
diff_from_parent.patch
|
||||
end
|
||||
|
||||
# Returns a diff object for the changes from this commit's first parent.
|
||||
|
|
Loading…
Reference in a new issue