git-review 0.6.3 → 0.6.4

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.
Files changed (2) hide show
  1. data/lib/git-review.rb +1 -1
  2. metadata +3 -3
data/lib/git-review.rb CHANGED
@@ -127,7 +127,7 @@ class GitReview
127
127
  # Create the actual pull request.
128
128
  Octokit.create_pull_request(target_repo, target_branch, source_branch, title, body)
129
129
  # Switch back to target_branch and check for success.
130
- git "commit #{target_branch}"
130
+ git "checkout #{target_branch}"
131
131
  update
132
132
  potential_new_request = @pending_requests.find{ |req| req['title'] == title }
133
133
  puts 'Successfully created new request.' if potential_new_request['number'] > last_request_id
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: 1
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dominik Bamberger, Cristian Messel