Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixes cases when the "Home" directory has spaces in it. #25

Closed
wants to merge 1 commit into from

3 participants

@Haacked

Thank Bradley T. Landis for this patch. He submitted this patch via a comment on my blog. I tried it out and it seems to work great.

@Haacked Haacked Fixes cases when the "Home" directory has spaces in it.
Thank Bradley T. Landis for this patch. He submitted this patch via a [comment on my blog](http://haacked.com/archive/2011/12/19/get-git-for-windows.aspx#86228). I tried it out and it seems to work great.
6e9c39f
@dahlbyk
Owner

See #24 :)

@dahlbyk dahlbyk closed this
@Haacked

Ha! Doh!

@bradleylandis

Sorry Phil, I should have mentioned on your blog that I was submitting it. :)

@Haacked

No worries! As long as it gets there! :)

@dahlbyk
Owner

Not every day you get to reject a pull request from Phil. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 21, 2011
  1. @Haacked

    Fixes cases when the "Home" directory has spaces in it.

    Haacked authored
    Thank Bradley T. Landis for this patch. He submitted this patch via a [comment on my blog](http://haacked.com/archive/2011/12/19/get-git-for-windows.aspx#86228). I tried it out and it seems to work great.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  GitUtils.ps1
View
3  GitUtils.ps1
@@ -220,5 +220,6 @@ function Start-SshAgent([switch]$Quiet) {
$sshAdd = Get-Command ssh-add -TotalCount 1 -ErrorAction SilentlyContinue
if (!$sshAdd) { Write-Warning 'Could not find ssh-add'; return }
- & $sshAdd
+ $sshPath = resolve-path ~/.ssh/id_rsa
+ & $sshAdd $sshPath
}
Something went wrong with that request. Please try again.