diff options
author | Nick Thomas <nick@gitlab.com> | 2019-05-31 12:08:54 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-05-31 12:08:54 +0000 |
commit | 4342831aa40c64e0af3624b934ba0610c22345ba (patch) | |
tree | 688dc50182c8429941d4d23edad3aedc08471233 /go/internal/command/command.go | |
parent | 12ca54c2d998803a0564a5a2942121364a30678f (diff) | |
parent | 033c81d546d31d07e5eadb50611543a7d2471254 (diff) | |
download | gitlab-shell-4342831aa40c64e0af3624b934ba0610c22345ba.tar.gz |
Merge branch 'id-git-receive-pack' into 'master'
Go implementation for git-receive-pack
Closes #161
See merge request gitlab-org/gitlab-shell!300
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 0ceb7fc..9589f2f 100644 --- a/go/internal/command/command.go +++ b/go/internal/command/command.go @@ -5,6 +5,7 @@ import ( "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/discover" "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/fallback" "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/config" ) @@ -33,6 +34,8 @@ func buildCommand(args *commandargs.CommandArgs, config *config.Config, readWrit return &discover.Command{Config: config, Args: args, ReadWriter: readWriter} case commandargs.TwoFactorRecover: return &twofactorrecover.Command{Config: config, Args: args, ReadWriter: readWriter} + case commandargs.ReceivePack: + return &receivepack.Command{Config: config, Args: args, ReadWriter: readWriter} } return nil |