Skip to content

Commit

Permalink
Merge pull request #567 from nicolaiskogheim/git-pull-request-fix#546
Browse files Browse the repository at this point in the history
pull-request: should read local config if present
  • Loading branch information
spacewander committed Aug 7, 2016
2 parents 3aafbc6 + ebe7448 commit fb3bc8d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/git-pull-request
Expand Up @@ -30,7 +30,7 @@ EOF

# user

user=$(git config --global user.email)
user=$(git config user.email)
test -z "$user" && abort "git config user.email required"

# branch
Expand Down
5 changes: 4 additions & 1 deletion man/git-pull-request.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-PULL\-REQUEST" "1" "July 2016" "" ""
.TH "GIT\-PULL\-REQUEST" "1" "August 2016" "" "Git Extras"
.
.SH "NAME"
\fBgit\-pull\-request\fR \- Create pull request for GitHub project
Expand All @@ -12,6 +12,9 @@
.SH "DESCRIPTION"
Create pull request for a project on GitHub via commandline\.
.
.P
Uses the email from \fBgit config user\.email\fR to open the pull request\.
.
.SH "OPTIONS"
<target branch>
.
Expand Down
8 changes: 5 additions & 3 deletions man/git-pull-request.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/git-pull-request.md
Expand Up @@ -9,6 +9,8 @@ git-pull-request(1) -- Create pull request for GitHub project

Create pull request for a project on GitHub via commandline.

Uses the email from `git config user.email` to open the pull request.

## OPTIONS

&lt;target branch&gt;
Expand Down

0 comments on commit fb3bc8d

Please sign in to comment.