git_pr 0.0.14.beta15 → 0.0.14.beta16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-pr +5 -2
- data/lib/git_pr/github.rb +1 -1
- data/lib/git_pr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 463df327553555157135caff5296bc1122e9c825
|
4
|
+
data.tar.gz: a73047b070d3f1c55621b42b8d881beb8c35a55f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3647056e5e1f455ca712df9e7bdb2a801e66558ebc1e824f8d4c4786a44ae4d890d8b67715709737ca9df90f2abf3cc6a48ce0c9dd575e5bdf6e2c3e236d34d
|
7
|
+
data.tar.gz: cc5759c5aabdd35ce5a7fddf8225004f035706669fc85f054c070ffd04509e6eb4eab44306e5bafb6e878089c0ec489599a2f6ff56f5d189b9bc164931fa326b
|
data/bin/git-pr
CHANGED
@@ -247,10 +247,13 @@ case command
|
|
247
247
|
|
248
248
|
when "merge"
|
249
249
|
unless options.merge.additional_arguments.empty?
|
250
|
-
|
250
|
+
argument = options.merge.additional_arguments.shift
|
251
251
|
end
|
252
252
|
# Load a pull request
|
253
|
-
pull =
|
253
|
+
pull = find_pull_request_from_command_line_argument(git, github_project, argument)
|
254
|
+
unless pull
|
255
|
+
pull = GitPr::GitHub.find_or_prompt_for_pull_request(github_project, argument.to_i)
|
256
|
+
end
|
254
257
|
GitPr::merge_pull_cleanly git, pull, options.merge
|
255
258
|
|
256
259
|
when "list"
|
data/lib/git_pr/github.rb
CHANGED
data/lib/git_pr/version.rb
CHANGED