diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 00:08:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-17 00:08:11 +0300 |
commit | 19db7fd1fefc4e4249d4e55f409f321fdb85aed1 (patch) | |
tree | 0093c7fa3eb11954b49c828b78caae28f5fb97c2 /workhorse/internal/api | |
parent | 8fa0c53e26c947ac647b8067fde3e9673b77b1a6 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/internal/api')
-rw-r--r-- | workhorse/internal/api/api.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/workhorse/internal/api/api.go b/workhorse/internal/api/api.go index 6a6a51b27bb..ba27a3e6ec9 100644 --- a/workhorse/internal/api/api.go +++ b/workhorse/internal/api/api.go @@ -128,6 +128,10 @@ type Response struct { // GL_REPOSITORY is an environment variable used by gitlab-shell hooks during // 'git push' and 'git pull' GL_REPOSITORY string + + // RemoteIp holds the IP of the request issuing the action + RemoteIp string + // GitConfigOptions holds the custom options that we want to pass to the git command GitConfigOptions []string // StoreLFSPath is provided by the GitLab Rails application to mark where the tmp file should be placed. |