Mercurial > lasercutter
annotate graster/hacklab-engraver/.git/hooks/post-receive.sample @ 15:8ad629298649
major refactoring
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 29 Aug 2010 19:02:26 -0400 |
parents | f952052e37b7 |
children |
rev | line source |
---|---|
rlm@11 | 1 #!/bin/sh |
rlm@11 | 2 # |
rlm@11 | 3 # An example hook script for the "post-receive" event. |
rlm@11 | 4 # |
rlm@11 | 5 # The "post-receive" script is run after receive-pack has accepted a pack |
rlm@11 | 6 # and the repository has been updated. It is passed arguments in through |
rlm@11 | 7 # stdin in the form |
rlm@11 | 8 # <oldrev> <newrev> <refname> |
rlm@11 | 9 # For example: |
rlm@11 | 10 # aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master |
rlm@11 | 11 # |
rlm@11 | 12 # see contrib/hooks/ for a sample, or uncomment the next line and |
rlm@11 | 13 # rename the file to "post-receive". |
rlm@11 | 14 |
rlm@11 | 15 #. /usr/share/doc/git-core/contrib/hooks/post-receive-email |