From a65355c1476d4815f0b28959fd2cd2f160dc4374 Mon Sep 17 00:00:00 2001 From: gennyble Date: Thu, 24 Aug 2023 21:49:51 -0500 Subject: add pre-commit example --- readme.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 734e81f..b49a9eb 100644 --- a/readme.md +++ b/readme.md @@ -9,6 +9,11 @@ dumps csv output on stdout, errors abort with a panic. You can use the flag `--ignore` to stop it from descending into directories. The flag takes a path to a file that contains a list of directory to ignore, relative to the path given to whenwasit. +See [.whenwasit-ignore](/.whenwasit-ignore) as an example. + +For an example on how you might use whenwasit as a git hook, see +[pre-commit](/pre-commit). It runs whenwasit before commit, +makes the file [.whenwasit](/.whenwasit), and adds it to the commit. **CSV Output Defintion:** data is output on `stdout` in a CSV format. because there are -- cgit 1.4.1-3-g733a5