c726ca637b
No-Try: true Change-Id: I585d14f9614fc9b1ae03b04bb838e79d1efc2bb2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/226511 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
9 lines
330 B
Bash
9 lines
330 B
Bash
#! /bin/sh
|
|
# Copyright 2019 Google LLC
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
SRC='https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
|
|
cd "$(dirname "$0")/.."
|
|
HOOK="$(git rev-parse --git-dir)/hooks/commit-msg"
|
|
curl -L -o "$HOOK" "$SRC" && chmod +x "$HOOK"
|