diff options
author | Adam Spragg <adam@spra.gg> | 2022-05-24 10:00:11 +0100 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2022-05-24 10:12:33 +0100 |
commit | dfb72c27037915262f6dcbd1d0017cf4136316da (patch) | |
tree | 76f65b3a3386745b05a3f083982fd269fd441d40 /examples/hooks/pre-commit | |
parent | 8a77b1abdbee3566eb550855f2162dec3126adc8 (diff) |
Use format 1 without mtime in the example hooks
Diffstat (limited to 'examples/hooks/pre-commit')
-rwxr-xr-x | examples/hooks/pre-commit | 4 |
1 files changed, 2 insertions, 2 deletions
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 |