eralblock">
<div class="content">
<pre>Before each ref is updated, if $GIT_DIR/hooks/update file exists
and executable, it is called with three parameters:</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>$GIT_DIR/hooks/update refname sha1-old sha1-new</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>The refname parameter is relative to $GIT_DIR; e.g. for the
master head this is "refs/heads/master".  Two sha1 are the
object names for the refna