diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2019-06-03 19:05:29 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2019-06-04 09:20:23 +0300 |
commit | be2a0dea5da664102d5709b30a260bed559269cf (patch) | |
tree | 1cf7111fb454449d5fbfcd3494c70295d75d40c6 /go/internal/command/command.go | |
parent | 5ee3270e07b0f7cca8c2352816ea86a3b640a772 (diff) | |
download | gitlab-shell-id-git-upload-archive.tar.gz |
Go implementation for git-upload-archiveid-git-upload-archive
Diffstat (limited to 'go/internal/command/command.go')
-rw-r--r-- | go/internal/command/command.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/go/internal/command/command.go b/go/internal/command/command.go index 8b02f16..7bc1994 100644 --- a/go/internal/command/command.go +++ b/go/internal/command/command.go @@ -7,6 +7,7 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter" "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/receivepack" "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/twofactorrecover" + "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/uploadarchive" "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/uploadpack" "gitlab.com/gitlab-org/gitlab-shell/go/internal/config" ) @@ -41,6 +42,8 @@ func buildCommand(args *commandargs.CommandArgs, config *config.Config, readWrit return &receivepack.Command{Config: config, Args: args, ReadWriter: readWriter} case commandargs.UploadPack: return &uploadpack.Command{Config: config, Args: args, ReadWriter: readWriter} + case commandargs.UploadArchive: + return &uploadarchive.Command{Config: config, Args: args, ReadWriter: readWriter} } return nil |