The symlinks to the post commit/post update scripts are absolute path symlinks, so a simple readlink is used. The is relative, so a bit of shell skill is used to resolve the path to the absolute path.
The symlinks to the post commit/post update scripts are absolute path symlinks, so a simple readlink is used. The is relative, so a bit of shell skill is used to resolve the path to the absolute path.