]> mj.ucw.cz Git - git-tools.git/commitdiff
Improved comments.
authorMartin Mares <mj@ucw.cz>
Fri, 3 Nov 2006 19:38:38 +0000 (20:38 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 3 Nov 2006 19:38:38 +0000 (20:38 +0100)
update

diff --git a/update b/update
index ddfc0914cad00aaff35238057b16abb5f0aad8ad..e79958e1a1125a0de84b250e32f55e8f23610b92 100755 (executable)
--- a/update
+++ b/update
@@ -1,10 +1,11 @@
 #!/bin/sh
 #
 # This is a generic update hook script for GIT repositories.
+# Written by Martin Mares <mj@ucw.cz> based on the template from GIT distribution.
 #
 # Called by git-receive-pack with arguments: refname sha1-old sha1-new
 #
-# Expects the following environment variables:
+# Expects the following environment variables to be set:
 #
 #      recipient       where to send the mail reports to
 #      sub_prefix      prefix which should be prepended to mail subject
@@ -58,5 +59,5 @@ fi
 
 exec >&2
 mutt -F/dev/null -x -e 'set charset="utf-8"; set send_charset="us-ascii:iso-8859-2:utf-8"' -s "$subj" "$recipient" <$out
-rm $out
+#rm $out
 exit 0