Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pick the first git in case there are multiple #71

Merged
merged 1 commit into from Nov 14, 2012

Conversation

skwp
Copy link
Contributor

@skwp skwp commented Nov 13, 2012

If you have multiple gits installed, such as /usr/bin/git from apple and /usr/local/bin/git from homebrew, scm_breeze will complain with an error:

scm_breeze.sh:export:16: not valid in this context: /usr/bin/git

To fix it, I just took the head -1 to ensure the first git is used. This works fine with just one git as well because head always returns the first line anyway.

ndbroadbent added a commit that referenced this pull request Nov 14, 2012
Pick the first git in case there are multiple
@ndbroadbent ndbroadbent merged commit c46e165 into scmbreeze:master Nov 14, 2012
@ndbroadbent
Copy link
Member

Great, thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants