This commit is contained in:
Arfon Smith
2014-07-06 22:10:43 -05:00
parent 7fbb9edc0f
commit 6454c96e6a

View File

@@ -29,8 +29,8 @@ namespace :benchmark do
desc "Testin'" desc "Testin'"
task :run do task :run do
reference, compare = ENV['compare'].split('...') reference, compare = ENV['compare'].split('...')
puts "Comparing #{reference}...#{current}" puts "Comparing #{reference}...#{compare}"
puts "Unstaged changes" and return if git.status.changed.any? abort("Unstaged changes") if git.status.changed.any?
# Get the current branch # Get the current branch
# Would like to get this from the Git gem # Would like to get this from the Git gem