From 55973eaa6edffee399708f80e80bd633c75eea29 Mon Sep 17 00:00:00 2001 From: Sam! Bonfante <6620407+X-sam@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:11:48 -0500 Subject: [PATCH] Fix Shallow Checkouts This addresses Issue #447 --- lib/pronto/git/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pronto/git/repository.rb b/lib/pronto/git/repository.rb index 0f6ad43e..cb327627 100644 --- a/lib/pronto/git/repository.rb +++ b/lib/pronto/git/repository.rb @@ -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