summaryrefslogtreecommitdiff
path: root/example_post-receive.sh
AgeCommit message (Collapse)Author
2025-02-23small changesShipwreckt
2021-03-05change STAGIT_BASEURL to an -u option and also update the example scriptHiltjo Posthuma
2019-03-01fix issues in example scriptsHiltjo Posthuma
- in case cd fails don't continue (don't write in previous directory). - post-receive: quote $(pwd) in case it has spaces. found by shellcheck tool.
2017-11-25post-receive: fix warning in script for example when pushing deleted tagsHiltjo Posthuma
the "new" variable would be zero: remote: fatal: bad object 0000000000000000000000000000000000000000 NOTE: when pushing new tags the "old" variable would be zero, this was already fixed.
2017-10-31post-receive hook: force UTF-8 localeHiltjo Posthuma
this fixes encoding errors when the pages are generated in the post-receive hook.
2017-08-09ignore object 0000000000000000000000000000000000000000Hiltjo Posthuma
remote: fatal: bad object 0000000000000000000000000000000000000000 this can happen on initial repos or when pushing tags etc.
2017-07-30improve example scripts, add to build (Makefile)Hiltjo Posthuma
2017-07-15improve example, add initial post-receive exampleHiltjo Posthuma