templates / hooks--post-update.sampleon commit sha1_file: link() returns -1 on failure, not errno (e32c0a9)
   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
   8exec git-update-server-info