Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2021-10-22 12:09:12 +00:00
parent e9a834ee29
commit faec73b0fe
27 changed files with 225 additions and 74 deletions

View File

@ -4,7 +4,6 @@
require 'digest'
require 'fileutils'
require 'open3'
if ENV['NO_COLOR']
SHELL_RED = ''
@ -19,7 +18,7 @@ else
end
LEFTHOOK_GLOBAL_CONFIG_PATH = File.expand_path("../lefthook.yml", __dir__)
HOOK_PATH = Open3.capture3("git rev-parse --path-format=absolute --git-path hooks/pre-push")[0].strip
HOOK_PATH = `git rev-parse --path-format=absolute --git-path hooks/pre-push`.split.last
HOOK_DATA = <<~HOOK
#!/usr/bin/env bash