SSHGitClient doesn't support username expansion
Bug #1083439 reported by
Eugene
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dulwich |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
TCPGitClient has the following two lines for supporting URLs like ssh://host.
if path.startswith
path = path[1:]
git does something similar in connect.c:568.
These two lines should be added to the start of SSHGitClient.
Thanks!
Eugene
Changed in dulwich: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in dulwich: | |
milestone: | none → 0.9.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Implemented the suggested solution.
No tests made because I am not sure of how to emulate the behaviour and there is no existing test for TCPGitClient.