levels/cherry-pick.rb in githug-0.2.4 vs levels/cherry-pick.rb in githug-0.2.5
- old
+ new
@@ -1,9 +1,10 @@
difficulty 3
description "Your new feature isn't worth the time and you're going to delete it. But it has one commit that fills in README file, and you want this commit to be on the master as well"
setup do
init_from_level
+ `git stash` #fix for README.md being in githug root an the level
end
solution do
return false unless repo.commits[1].message == "Added fancy branded output"
return false unless repo.commits[0].message == "Filled in README.md with proper input"