Sign in
◑
Theme
android
/
platform
/
external
/
bazelbuild-remote-apis-sdks
/
dc1a0000c3dc9ace381594862feeff7190b857f0
/
.
/
setup-githooks.sh
blob: 4baabf5b74cb744af0a12052c9e9051e88f4586a [
file
]
#!/bin/bash
# Copies git hooks from .githooks/ to .git/hooks/, overriding any hooks you may
# have previously had there.
cp
.
githooks
/*
.
git
/
hooks
/
for
h
in
`ls .githooks/* | xargs basename`
;
do
chmod ug
+
x
.
git
/
hooks
/
$h
done