Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Nov 7, 2021

  • 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 [email protected]
(cherry picked from commit 6cea7a7)

darkowlzz and others added 2 commits November 7, 2021 20:21
…git2 (#852)

* 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 <[email protected]>
(cherry picked from commit 6cea7a7)
@lhchavez lhchavez merged commit a4d6699 into release-1.0 Nov 9, 2021
@lhchavez lhchavez deleted the cherry-pick-1432268967-release-1.0 branch November 9, 2021 14:27
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

Successfully merging this pull request may close these issues.

3 participants