Sha256: fc8df87dc272eb81bb5a0f349206b80017c9af6d11b9a5757600594144b0af1b

Contents?: true

Size: 562 Bytes

Versions: 3

Compression:

Stored size: 562 Bytes

Contents

difficulty 3
description "A bug was introduced somewhere along the way.  You know that running 'ruby prog.rb 5' should output 15.  You can also run 'make test'.  What are the first 7 chars of the hash of the commit that introduced the bug."

setup do
  init_from_level
  repo.init
end

solution do
  "18ed2ac" == request("What are the first 7 characters of the hash of the commit that introduced the bug?")
end

hint do
  puts ["The fastest way to find the bug is with bisect.", "Start bisect with a good and bad commit, then run git bisect run make test."]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
githug-0.2.11 levels/bisect.rb
githug-0.2.10 levels/bisect.rb
githug-0.2.9 levels/bisect.rb