Pick the first git in case there are multiple #71

Merged
merged 1 commit into from Nov 14, 2012

2 participants

@skwp

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.

@skwp skwp referenced this pull request in skwp/dotfiles Nov 13, 2012
Closed

Integrate scm_breeze #215

@ndbroadbent ndbroadbent merged commit c46e165 into scmbreeze:master Nov 14, 2012

1 check passed

Details default The Travis build passed
@ndbroadbent

Great, thanks for the fix!

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