shlib.sh: refactor some code to make get_mirror_type() available
[girocco.git] / hooks / pre-receive
blob2950a2dfafd3f7538064c197603ce6549eeaf33a
1 #!/bin/sh
3 # Keep track of the last time we modified the object store
5 # Beware, we MAY be running in a chroot!
7 set -e
9 git config gitweb.lastreceive "$(date '+%a, %d %b %Y %T %z')"
11 # Read the incoming refs, but just ignore them
12 while read line; do
14 done