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

CheckVersion.ps1 breaks if using 'hub' to wrap git #248

Closed
klauern opened this issue Jan 14, 2016 · 1 comment
Closed

CheckVersion.ps1 breaks if using 'hub' to wrap git #248

klauern opened this issue Jan 14, 2016 · 1 comment

Comments

@klauern
Copy link

klauern commented Jan 14, 2016

I have hub, and when I alias it in my $profile:

New-Alias git hub

When I start a new powershell, it seems to fail on the CheckVersion.ps1:

image

my git and hub versions:

C:\Users\A03182\Documents\WindowsPowerShell\Modules\posh-git [master+1 ~0 -0 !]
λ hub version
git version 2.5.0.windows.1
hub version 2.2.2
C:\Users\A03182\Documents\WindowsPowerShell\Modules\posh-git [master+1 ~0 -0 !]
λ git version
git version 2.5.0.windows.1
hub version 2.2.2
C:\Users\A03182\Documents\WindowsPowerShell\Modules\posh-git [master+1 ~0 -0 !]
λ
@klauern
Copy link
Author

klauern commented Jan 14, 2016

I just upgraded to git 2.7.0 to ensure that the latest version was having the issue, and it has the same issue, so no change:

image

theaquamarine added a commit to theaquamarine/posh-git that referenced this issue Feb 2, 2016
Prevents aliasing hub as git breaking our version check.

Fixes dahlbyk#248
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

No branches or pull requests

1 participant