summaryrefslogtreecommitdiff
path: root/public/git/.git_template/hooks/post-commit
diff options
context:
space:
mode:
authorChristian Segundo2023-10-12 14:16:30 +0200
committerChristian Segundo2023-10-12 14:16:30 +0200
commit97a799c00e31d028f83743419ee9be7f10e41d5a (patch)
tree95f1328903fda73b6534ad20cf8c40d4e38326e7 /public/git/.git_template/hooks/post-commit
parentb5d995f1dd791f5db5eb9ca5bbc2b340f0f38383 (diff)
downloaddotfiles-97a799c00e31d028f83743419ee9be7f10e41d5a.tar.gz
Add git
Diffstat (limited to 'public/git/.git_template/hooks/post-commit')
-rwxr-xr-xpublic/git/.git_template/hooks/post-commit5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/git/.git_template/hooks/post-commit b/public/git/.git_template/hooks/post-commit
new file mode 100755
index 0000000..82f44ec
--- /dev/null
+++ b/public/git/.git_template/hooks/post-commit
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+### lolcommits hook (begin) ###
+LANG="" && PATH="$PATH:/usr/bin:/usr/local/bin" && if [ ! -d "$GIT_DIR/rebase-merge" ] && [ "$LOLCOMMITS_CAPTURE_DISABLED" != "true" ]; then lolcommits --capture --device 'Logitech StreamCam' --fork; fi
+### lolcommits hook (end) ###