diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-20 23:31:40 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-11-20 23:31:40 +0100 |
| commit | 52b0be81663df26b56002533ec93f8008db04d1a (patch) | |
| tree | ad72ba13e6159d647b0bf2619c88c57924a19b82 /update-all | |
| download | git-hooks-52b0be81663df26b56002533ec93f8008db04d1a.tar.gz git-hooks-52b0be81663df26b56002533ec93f8008db04d1a.zip | |
First commit
Diffstat (limited to 'update-all')
| -rwxr-xr-x | update-all | 9 |
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 | |||
| 3 | for 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 | ||
| 9 | done | ||
