Skip to content

Commit 7924fc9

Browse files
author
Simon Coffey
committed
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 <simon.coffey@futurelearn.com>
1 parent 59dd023 commit 7924fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def commit_data(sha)
224224
process_commit_data(cdata, sha)
225225
end
226226

227-
def process_commit_data(data, sha = nil)
227+
def process_commit_data(data, sha)
228228
hsh = {
229229
'sha' => sha,
230230
'parent' => []

0 commit comments

Comments
 (0)