Skip to content

Commit

Permalink
Adding shared pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
alephnull committed Jul 28, 2020
1 parent 7b8091e commit 5186e6a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
#
# Update the TODO file on commit

exec 1>&2

echo Updating TODO file from $(pwd)
grep -ri TODO * > TODO
exec git add TODO
3 changes: 3 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cmd/serve.go:// TODO: Implement newbuild ahndler in new mux code
Binary file gromit matches
server/app.go:// TODO Implement listing of all environments

0 comments on commit 5186e6a

Please sign in to comment.