8 lines
146 B
Text
8 lines
146 B
Text
|
#!/bin/sh
|
||
|
hook=$(basename $0)
|
||
|
if [ -f $GIT_DIR/hooks/$hook ]
|
||
|
then
|
||
|
echo Running project-level hook: $GIT_DIR/hooks/$hook
|
||
|
$GIT_DIR/hooks/$hook
|
||
|
fi
|