git-review 1.0.2 → 1.0.3
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 +6 -1
- 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
|
-
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dominik Bamberger
|