blob: f4bd35ae6c96f396a02b3092753e0de5cbc0d00c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. 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-commit".
root="$(git rev-parse --show-toplevel)"
[ -d "$root" ] || exit 1
./update-data-manifest.sh
git add ./data-manifest
|