Commit Graph

2 Commits

Author SHA1 Message Date
github-actions[bot] 2c7a081502
Make ssh commands used in the git smart transport compatible with libgit2 (#852) (#853)
* 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'
```

* Update ssh.go

Co-authored-by: lhchavez <lhchavez@lhchavez.com>
(cherry picked from commit 6cea7a7a59)

Co-authored-by: Sunny <darkowlzz@protonmail.com>
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
2021-11-09 06:26:34 -08:00
lhchavez e434188460
Add support for managed SSH transport #minor (#814) (#817)
This change drops the (hard) dependency on libssh2 and instead uses Go's
implementation of SSH when libgit2 is not built with it.
2021-09-05 18:27:52 -07:00