xref: /aosp_15_r20/external/skia/experimental/tools/set-change-id-hook (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1#! /bin/sh
2# Copyright 2019 Google LLC
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5SRC='https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
6cd "$(dirname "$0")/.."
7HOOK="$(git rev-parse --git-dir)/hooks/commit-msg"
8curl -L -o "$HOOK" "$SRC" && chmod +x "$HOOK"
9