diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-27 09:07:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-27 09:07:47 +0300 |
commit | d2b64c37bdef067656fdc8deb4728a2fbc6c2729 (patch) | |
tree | 5cab5936f9c176f81d9749baf4ccbdcf94be9e64 /lib/gitlab/git | |
parent | 4560c92ab1954cf0416bafc45d1fa671fcacb3c3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/git')
-rw-r--r-- | lib/gitlab/git/hook_env.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/gitlab/git/hook_env.rb b/lib/gitlab/git/hook_env.rb index 892a069a3b7..f93ab19fc65 100644 --- a/lib/gitlab/git/hook_env.rb +++ b/lib/gitlab/git/hook_env.rb @@ -4,12 +4,13 @@ module Gitlab module Git - # Ephemeral (per request) storage for environment variables that some Git - # commands need during internal API calls made from Git push hooks. + # Ephemeral (per request) storage for environment variables that some + # Git commands need during internal API calls made from the Git + # pre-receive push hook. # - # For example, in pre-receive hooks, new objects are put in a temporary - # $GIT_OBJECT_DIRECTORY. Without it set, the new objects cannot be retrieved - # (this would break push rules for instance). + # See + # https://gitlab.com/gitlab-org/gitaly/-/blob/master/doc/object_quarantine.md#gitlab-and-git-object-quarantine + # for more information. # # This class is thread-safe via RequestStore. class HookEnv |