X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.maps.server%2Fserver%2Ftm2%2Fmapbox-studio-light.tm2%2F.git.bak%2Fhooks%2Fpre-applypatch.sample;fp=org.simantics.maps.server%2Fserver%2Ftm2%2Fmapbox-studio-light.tm2%2F.git.bak%2Fhooks%2Fpre-applypatch.sample;h=4142082bcb939bbc17985a69ba748491ac6b62a5;hb=2529be6d456deeb07c128603ce4971f1dc29b695;hp=0000000000000000000000000000000000000000;hpb=2636fc31c16c23711cf2b06a4ae8537bba9c1d35;p=simantics%2Fdistrict.git diff --git a/org.simantics.maps.server/server/tm2/mapbox-studio-light.tm2/.git.bak/hooks/pre-applypatch.sample b/org.simantics.maps.server/server/tm2/mapbox-studio-light.tm2/.git.bak/hooks/pre-applypatch.sample new file mode 100644 index 00000000..4142082b --- /dev/null +++ b/org.simantics.maps.server/server/tm2/mapbox-studio-light.tm2/.git.bak/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: