git-review 1.0.2 → 1.0.3

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 +6 -1
  2. metadata +3 -3
data/lib/git-review.rb CHANGED
@@ -361,7 +361,12 @@ class GitReview
361
361
  not (response.empty? or response.include?('fatal: Unknown commit'))
362
362
  end
363
363
  # If the array ain't empty, we got unmerged commits.
364
- not unmerged_commits.empty?
364
+ if unmerged_commits.empty?
365
+ false
366
+ else
367
+ puts "Unmerged commits on branch '#{branch_name}'."
368
+ true
369
+ end
365
370
  end
366
371
 
367
372
  # Returns a boolean stating whether a branch exists in a specified location.
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dominik Bamberger