mirror of
https://github.com/firehol/firehol.git
synced 2024-06-28 09:52:19 +00:00
Add help on checking against empty repo
Guarantees that all files are considered changed, regardless of whether they currently are.
This commit is contained in:
parent
9a81a3daa9
commit
9d097cb9b2
@ -36,6 +36,8 @@ then
|
||||
echo "check-files [--debug] -|filenames"
|
||||
echo "e.g."
|
||||
echo " git diff | ./packaging/check-files -"
|
||||
echo "for a complete check (v.s. empty repo):"
|
||||
echo " git diff 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | ./packaging/check-files -"
|
||||
echo "or in .git/hooks/pre-commit:"
|
||||
echo " exec git diff --cached | ./packaging/check-files -"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user