git-review 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/git-review.rb +4 -3
  2. metadata +3 -3
data/lib/git-review.rb CHANGED
@@ -98,11 +98,12 @@ class GitReview
98
98
  puts 'Tell the contributor not to do this.'
99
99
  return false
100
100
  end
101
- message = "Accepting request and merging into '#{target}':\n\n"
102
- message += "#{@pending_request['title']}\n\n"
103
- message += "#{@pending_request['body']}\n\n"
101
+ message = "Accepting request ##{@pending_request['number']} and merging into \"#{target}>\""
104
102
  exec_cmd = "merge --no-ff #{option} -m '#{message}' #{@pending_request['head']['sha']}"
105
103
  puts
104
+ puts 'Request title:'
105
+ puts " #{@pending_request['title']}"
106
+ puts 'Merge command:'
106
107
  puts " git #{exec_cmd}"
107
108
  puts
108
109
  git(exec_cmd)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-review
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 4
10
- version: 0.6.4
9
+ - 5
10
+ version: 0.6.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dominik Bamberger, Cristian Messel