Skip to content

Commit

Permalink
Fix Shallow Checkouts
Browse files Browse the repository at this point in the history
This addresses Issue prontolabs#447
  • Loading branch information
X-sam committed Jan 31, 2024
1 parent 61beff7 commit 55973ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pronto/git/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def diff(commit, options = nil)
]
else
merge_base = merge_base(commit)
patches = @repo.diff(merge_base, head, options)
patches = @repo.diff(merge_base, head, options || {})
[merge_base, patches]
end

Expand Down

0 comments on commit 55973ea

Please sign in to comment.