Skip to content
Snippets Groups Projects
Commit 9954dafd authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Just use a block

parent 3a4da8ce
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -585,7 +585,7 @@ module Gitlab
end
 
def delete_refs(ref_names)
ref_names.each(&rugged.references.method(:delete))
ref_names.each { |ref| rugged.references.delete(ref) }
end
 
# Create a new branch named **ref+ based on **stat_point+, HEAD by default
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment