This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/user/env ruby | |
# | |
# Batch gitmine review a bunch of tickets. | |
# | |
# Usage: ruby batch_review.rb 7585 7603 7623 7640 7663 7665 | |
# | |
ARGV.each do |issue_id| | |
system("gitmine checkout #{issue_id} && git pull && git diff master...HEAD") | |
puts "Merge into master?" |