Commit Graph

2 Commits

Author SHA1 Message Date
github-actions[bot] a4d6699c91
Make ssh commands used in the git smart transport compatible with libgit2 (#852) (#855)
* 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:27:06 -08:00
github-actions[bot] 4a1a8951e0
Add support for managed SSH transport #minor (#814) (#815)
This change drops the (hard) dependency on libssh2 and instead uses Go's
implementation of SSH when libgit2 is not built with it.

(cherry picked from commit 70e5e419cf)

Co-authored-by: lhchavez <lhchavez@lhchavez.com>
2021-09-05 17:07:52 -07:00