From 7924fc9496241b27d08971a7de45d9880e89d56e Mon Sep 17 00:00:00 2001 From: Simon Coffey Date: Mon, 16 Jan 2023 16:10:51 +0000 Subject: [PATCH] Remove #process_commit_data default sha value As with the previous commit, this default value was relevant when this method was also used to process git log output. It no longer is, and its only caller passes the sha value, so we can remove the default. Signed-off-by: Simon Coffey --- lib/git/lib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/lib.rb b/lib/git/lib.rb index 0886df4e..6fd1a1f2 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -224,7 +224,7 @@ def commit_data(sha) process_commit_data(cdata, sha) end - def process_commit_data(data, sha = nil) + def process_commit_data(data, sha) hsh = { 'sha' => sha, 'parent' => []