summaryrefslogtreecommitdiff
path: root/examples/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hooks')
-rwxr-xr-xexamples/hooks/post-checkout2
-rwxr-xr-xexamples/hooks/post-merge2
-rwxr-xr-xexamples/hooks/pre-commit4
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/hooks/post-checkout b/examples/hooks/post-checkout
index bd4de15..bec950e 100755
--- a/examples/hooks/post-checkout
+++ b/examples/hooks/post-checkout
@@ -19,6 +19,6 @@ if [ ! -e "$MSFILE" ]; then
fi
exit_on_fail \
- metastore -a -m -e -E -q -f "$MSFILE"
+ metastore -a -e -E -q -f "$MSFILE"
exit 0
diff --git a/examples/hooks/post-merge b/examples/hooks/post-merge
index 938305f..ff7afee 100755
--- a/examples/hooks/post-merge
+++ b/examples/hooks/post-merge
@@ -19,6 +19,6 @@ if [ ! -e "$MSFILE" ]; then
fi
exit_on_fail \
- metastore -a -m -e -E -q -f "$MSFILE"
+ metastore -a -e -E -q -f "$MSFILE"
exit 0
diff --git a/examples/hooks/pre-commit b/examples/hooks/pre-commit
index e4cc8ea..8a0de8a 100755
--- a/examples/hooks/pre-commit
+++ b/examples/hooks/pre-commit
@@ -37,12 +37,12 @@ if git rev-parse MERGE_HEAD >/dev/null 2>&1 \
fi
exit_on_fail \
- metastore -s -f "$MSFILE"
+ metastore -s -M -r 1 -f "$MSFILE"
# If it's first metastore commit, store again to include $MSFILE in $MSFILE.
if ! git-ls-tree --name-only HEAD 2>/dev/null | grep -Fqx "$MSFILE"; then
exit_on_fail \
- metastore -s -f "$MSFILE"
+ metastore -s -M -r 1 -f "$MSFILE"
fi
if [ ! -e "$MSFILE" ]; then