aboutsummaryrefslogtreecommitdiff
path: root/update-all
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-11-20 23:31:40 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-11-20 23:31:40 +0100
commit52b0be81663df26b56002533ec93f8008db04d1a (patch)
treead72ba13e6159d647b0bf2619c88c57924a19b82 /update-all
downloadgit-hooks-52b0be81663df26b56002533ec93f8008db04d1a.tar.gz
git-hooks-52b0be81663df26b56002533ec93f8008db04d1a.zip
First commit
Diffstat (limited to 'update-all')
-rwxr-xr-xupdate-all9
1 files changed, 9 insertions, 0 deletions
diff --git a/update-all b/update-all
new file mode 100755
index 0000000..890a1f5
--- /dev/null
+++ b/update-all
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3for g in *.git; do
4 cd $g
5 printf '#!/bin/sh\n\n/home/git/BIN/post-receive-stagit\n' >> \
6 hooks/post-receive
7 /home/git/BIN/post-receive-stagit
8 cd
9done

Generated with cgit - Back to sebastiano.tronto.net