diff options
author | Alberto Cortés <alberto@sourced.tech> | 2015-12-17 18:01:38 +0100 |
---|---|---|
committer | Alberto Cortés <alberto@sourced.tech> | 2015-12-17 18:01:38 +0100 |
commit | c8c4a69045f75e0a6dce601387bc2ff49f7c1e84 (patch) | |
tree | 1331275bfd4714a18ec9b3fa12ca31c80416c671 /clients/ssh/git_upload_pack.go | |
parent | bf98b6096fd1e813ebadbb1f71d4b2d4e48bdb4b (diff) | |
download | go-git-c8c4a69045f75e0a6dce601387bc2ff49f7c1e84.tar.gz |
Add install protocols capabilities to GitUploadPackService
Diffstat (limited to 'clients/ssh/git_upload_pack.go')
-rw-r--r-- | clients/ssh/git_upload_pack.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/ssh/git_upload_pack.go b/clients/ssh/git_upload_pack.go index 09cb5ab..4a4021d 100644 --- a/clients/ssh/git_upload_pack.go +++ b/clients/ssh/git_upload_pack.go @@ -42,7 +42,8 @@ type GitUploadPackService struct { // NewGitUploadPackService initialises a GitUploadPackService. // TODO: remove this, as the struct is zero-value safe. -func NewGitUploadPackService() *GitUploadPackService { +func NewGitUploadPackService(url string) *GitUploadPackService { + // url ignored return &GitUploadPackService{} } |