aboutsummaryrefslogtreecommitdiffstats
path: root/clients/http/git_upload_pack.go
diff options
context:
space:
mode:
authorAlberto Cortés <alberto@sourced.tech>2015-12-17 18:01:38 +0100
committerAlberto Cortés <alberto@sourced.tech>2015-12-17 18:01:38 +0100
commitc8c4a69045f75e0a6dce601387bc2ff49f7c1e84 (patch)
tree1331275bfd4714a18ec9b3fa12ca31c80416c671 /clients/http/git_upload_pack.go
parentbf98b6096fd1e813ebadbb1f71d4b2d4e48bdb4b (diff)
downloadgo-git-c8c4a69045f75e0a6dce601387bc2ff49f7c1e84.tar.gz
Add install protocols capabilities to GitUploadPackService
Diffstat (limited to 'clients/http/git_upload_pack.go')
-rw-r--r--clients/http/git_upload_pack.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/http/git_upload_pack.go b/clients/http/git_upload_pack.go
index 2d38d42..4b06c72 100644
--- a/clients/http/git_upload_pack.go
+++ b/clients/http/git_upload_pack.go
@@ -18,7 +18,8 @@ type GitUploadPackService struct {
auth HTTPAuthMethod
}
-func NewGitUploadPackService() *GitUploadPackService {
+func NewGitUploadPackService(url string) *GitUploadPackService {
+ // url ignored
return &GitUploadPackService{
Client: http.DefaultClient,
}