git-review 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/git-review.rb +4 -3
- 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
|
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:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 5
|
10
|
+
version: 0.6.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dominik Bamberger, Cristian Messel
|