mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
a36399ccfa
Add hooks branch for VTK-m so that developers can get some pre-commit checks easily. Commands used to setup GitSetup: git remote add -f setup https://robertmaynard@gitlab.kitware.com/utils/gitsetup.git git merge --no-commit --allow-unrelated-histories setup/hooks git read-tree -u --prefix=. setup/hooks
26 lines
1.0 KiB
Bash
Executable File
26 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#=============================================================================
|
|
# Copyright 2010-2012 Kitware, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#=============================================================================
|
|
|
|
. "${BASH_SOURCE%/*}/hooks-config.bash"
|
|
|
|
# Start with project-specific hook.
|
|
hooks_start prepare-commit-msg "$@"
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Chain to project-specific hook.
|
|
hooks_chain prepare-commit-msg "$@"
|