exe/git-wip in git-wip-0.4 vs exe/git-wip in git-wip-0.5
- old
+ new
@@ -5,11 +5,11 @@
puts 'git wip [branch-name] [issue-number]'
exit 2
end
if ARGV[1]
- branch_name = "#{ARGV[0]}/#{ARGV[1]}"
issue_number = "##{ARGV[1]}"
+ branch_name = "#{ARGV[1]}-#{ARGV[0]}"
issue_title = `hub issue | grep #{ARGV[1]} | xargs`
else
branch_name = ARGV[0]
issue_number = ''
issue_title = "Fix #{branch_name}"