home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add git commit hook.
[config]
/
systemfiles
/
post-update
diff --git a/systemfiles/post-update
b/systemfiles/post-update
new file mode 100755
(executable)
index 0000000..
325d94f
--- /dev/null
+++ b/
systemfiles/post-update
@@ -0,0
+1,4
@@
+#!/bin/sh
+LIFELOGDIR=/home/plom/lifelog
+GIT_WORK_TREE=$LIFELOGDIR git checkout -f
+find $LIFELOGDIR -name "*.rst" -exec sh -c 'rst2html $0 > ${0%.rst}.html' {} \;