Make ssh commands used in the git smart transport compatible with libgit2 #852

Merged
darkowlzz merged 2 commits from ssh-go-transport-fix into main 2021-11-07 14:20:57 -06:00

2 Commits

Author SHA1 Message Date
lhchavez 5b07f86fdb
Update ssh.go 2021-11-07 12:17:35 -08:00
Sunny bc0bbe92b3 Fix ssh commands used in go SmartSubtransport
Before the fix, the commands sent were of the form:

```
git-upload-pack "/bar/test-reponame"
```

This resulted in the git server returning error:
`error parsing command: invalid git command`

This change replaces the double quotes with single quotes:

```
git-upload-pack '/bar/test-reponame'
```
2021-11-08 01:32:25 +05:30