Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@arthurschreiber
Created May 26, 2013 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arthurschreiber/5653887 to your computer and use it in GitHub Desktop.
Save arthurschreiber/5653887 to your computer and use it in GitHub Desktop.
$:.unshift File.join(File.dirname(__FILE__), "lib")
require "rugged"
repo = Rugged::Repository.new(".")
10000000.times do
begin
Rugged::Reference.each(repo) do |ref|
raise "fail"
end
rescue
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment