@@ -217,7 +217,7 @@ def describe(commit_ish = nil, opts = {})
217217
218218 arr_opts << commit_ish if commit_ish
219219
220- return command ( 'describe' , *arr_opts )
220+ command ( 'describe' , *arr_opts )
221221 end
222222
223223 # Return the commits that are within the given revision range
@@ -472,7 +472,7 @@ def process_commit_data(data, sha)
472472
473473 hsh [ 'message' ] = data . join ( "\n " ) + "\n "
474474
475- return hsh
475+ hsh
476476 end
477477
478478 CAT_FILE_HEADER_LINE = /\A (?<key>\w +) (?<value>.*)\z /
@@ -543,7 +543,7 @@ def process_tag_data(data, name)
543543
544544 hsh [ 'message' ] = data . join ( "\n " ) + "\n "
545545
546- return hsh
546+ hsh
547547 end
548548
549549 def process_commit_log_data ( data )
@@ -584,7 +584,7 @@ def process_commit_log_data(data)
584584
585585 hsh_array << hsh if hsh
586586
587- return hsh_array
587+ hsh_array
588588 end
589589
590590 def ls_tree ( sha , opts = { } )
@@ -758,7 +758,7 @@ def current_branch_state
758758 :unborn
759759 end
760760
761- return HeadState . new ( state , branch_name )
761+ HeadState . new ( state , branch_name )
762762 end
763763
764764 def branch_current
@@ -1488,7 +1488,7 @@ def archive(sha, file = nil, opts = {})
14881488 gz . write ( file_content )
14891489 end
14901490 end
1491- return file
1491+ file
14921492 end
14931493
14941494 # returns the current version of git, as an Array of Fixnums.
0 commit comments