BigW Consortium Gitlab

Commit 9954dafd by Lin Jen-Shin

Just use a block

parent 3a4da8ce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment