post-update 373 B

1234567891011121314
  1. #!/bin/sh
  2. #
  3. # An example hook script to prepare a packed repository for use over
  4. # dumb transports.
  5. #
  6. # To enable this hook, rename this file to "post-update".
  7. PARAMFILE=/tmp/git2darcs.$USER.update
  8. [ -f $PARAMFILE -a -r $PARAMFILE ] && \
  9. sh -x ../_NOWIKI/git2darcs/git2darcs.hook.sh `cat $PARAMFILE` >> ../../git2darcs.log && \
  10. rm $PARAMFILE
  11. exec git update-server-info