aboutsummaryrefslogtreecommitdiffstats
path: root/clients/ssh/git_upload_pack.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-12-23 09:48:11 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2015-12-23 09:48:11 +0100
commitda5ab9de3e4c1bffa533108f46c5adc30929f7c2 (patch)
tree1331275bfd4714a18ec9b3fa12ca31c80416c671 /clients/ssh/git_upload_pack.go
parent990573b9bf06d12fdafbe09664e47736a48746d8 (diff)
parentc8c4a69045f75e0a6dce601387bc2ff49f7c1e84 (diff)
downloadgo-git-da5ab9de3e4c1bffa533108f46c5adc30929f7c2.tar.gz
Merge pull request #10 from alcortesm/file-clientv2.1.0
Adds external protocol insertion for the clients and protocol selection based on the scheme
Diffstat (limited to 'clients/ssh/git_upload_pack.go')
-rw-r--r--clients/ssh/git_upload_pack.go3
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{}
}