splitbrain/git-pull-request — pull request #5 by certik (2012-08-05 03:23:25+00:00)
Title: Fix for urls not ending with .git

The regular expression was fixed to make the ".git" part of the url optional.

More details: GitHub allows to clone projects using urls like:

git clone https://github.com/sympy/sympy-live

which don't end with ".git". Previously "git pull-request" failed with:

$ git pull-request
Failed to determine github repository name
The repository is usually automatically detected from your remote origin.
If your origin doesn't point to github, you can specify the repository on
the command line using the -r parameter, by specifying either a remote or
the full repository name (user/repo), or configure it using
git config github.repo /

After this patch, "git pull-request" works as expected.