Gitiles
Code Review
Sign In
review.sourcearcade.org
/
flashprog
/
cc853d84ed2f8ecafc1f6daa443f8baa4c871805
/
.
/
util
/
git-hooks
/
wrapper.sh
blob: 3fc3e05c6bd61fabe77acb48cf18081dc4d82832 [
file
] [
log
] [
blame
]
#!/bin/sh
if
[
-
x $0
.
local
];
then
$0
.
local
"$@"
||
exit $
?
fi
hook
=
$
(
git rev
-
parse
--
show
-
toplevel
)
"/util/git-hooks/"
$
(
basename $0
)
if
[
-
x $hook
];
then
$hook
"$@"
||
exit $
?
fi