summaryrefslogtreecommitdiff
path: root/internal/command/receivepack/receivepack.go
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2020-04-17 06:34:01 +0000
committerPatrick Bajao <ebajao@gitlab.com>2020-04-17 06:34:01 +0000
commitf92a38ac01c05472b92876da3eb78933bdae3fde (patch)
tree17f7c90485d0a339e5ecb14fb6131a4c2636903d /internal/command/receivepack/receivepack.go
parent932e5d46a96bb1daebb9268789e765dda9f6d3ef (diff)
parent4f4acf4a1e523678355b06234016fa632bae282e (diff)
downloadgitlab-shell-f92a38ac01c05472b92876da3eb78933bdae3fde.tar.gz
Merge branch '202037-geo-ssh-clone-pull-redirect-to-primary-when-selective-sync-enabled-and-project-not-selected' into 'master'
Geo: Add custom action support for clone/pull See merge request gitlab-org/gitlab-shell!369
Diffstat (limited to 'internal/command/receivepack/receivepack.go')
-rw-r--r--internal/command/receivepack/receivepack.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/command/receivepack/receivepack.go b/internal/command/receivepack/receivepack.go
index 3af3941..7271264 100644
--- a/internal/command/receivepack/receivepack.go
+++ b/internal/command/receivepack/receivepack.go
@@ -28,7 +28,11 @@ func (c *Command) Execute() error {
}
if response.IsCustomAction() {
- customAction := customaction.Command{c.Config, c.ReadWriter}
+ customAction := customaction.Command{
+ Config: c.Config,
+ ReadWriter: c.ReadWriter,
+ EOFSent: true,
+ }
return customAction.Execute(response)
}