github plugin: only alias git=hub if `hub --version` works. #717

Merged
merged 1 commit into from Jan 22, 2012

Conversation

Projects
None yet
2 participants
@blueyed
Contributor

blueyed commented Nov 24, 2011

hub is crashing for me on a old CentOS setup with
"undefined method `shelljoin'".

On first use of the git function it is now checked if
hub --version returns successfully.

Only alias git=hub if `hub --version` works.
`hub` is crashing for me on a old CentOS setup with
"undefined method `shelljoin'".

On first use of the `git` function it is now checked if
`hub --version` returns successfully.

robbyrussell added a commit that referenced this pull request Jan 22, 2012

Merge pull request #717 from blueyed/github-plugin-working-hub
github plugin: only alias git=hub if `hub --version` works.

@robbyrussell robbyrussell merged commit 80257bd into robbyrussell:master Jan 22, 2012

@robbyrussell robbyrussell merged commit 2c660c1 into robbyrussell:master Jan 22, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment