commit 3405fb8a4a0b1b1fefd7c9e3117d43c1721ee331 parent ffa9611551cba179a565b3e01eb8df62c70507fc Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Tue, 3 Apr 2018 20:38:14 +0200 Check URLs before pushing Will probably come back to bite me when some URL will *literally* contain "TODO". Diffstat:
| A | hooks/pre-push | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/hooks/pre-push b/hooks/pre-push @@ -0,0 +1,5 @@ +#/bin/bash + +echo "Checking for unresolved links…" + +! grep -Er '^\[.*\]:.*TODO.*'