aboutsummarylogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDany Marcoux2016-06-14 21:33:20 +0200
committerDany Marcoux2016-06-14 22:34:05 +0200
commitd57d31f9ad3685911fe984700811a16b5538d85c (patch)
tree333b62da1c23df37f6a784bab38a578e7b8997ca /README.md
parentd0f7b31d9543ee5627173ec99f3a09ca1982303f (diff)
downloadaur-d57d31f9ad3685911fe984700811a16b5538d85c.tar.gz
Pre-release tag-ag 1.0.0-3
Setup git pre-commit hook to generate .SRCINFO file and add it to the commit if it changed
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index f7196f263899..718f37930837 100644
--- a/README.md
+++ b/README.md
@@ -37,3 +37,9 @@ It is as simple as running the following command in the repository's root direct
```bash
$ mksrcinfo
```
+
+However, I prefer to use a git pre-commit hook ([pre-commit.sh](pre-commit.sh)) to do this automatically. Set it up with this command:
+
+```bash
+$ ln -s ../../pre-commit.sh .git/hooks/pre-commit
+```