post-receive: Rewrote and extended comments.
authorTed Zlatanov <tzz@lifelogs.com>
Wed, 1 Sep 2010 12:47:37 +0000 (07:47 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Wed, 1 Sep 2010 12:47:37 +0000 (07:47 -0500)
etc/ChangeLog
etc/post-receive

index 4199f4e..2c97897 100644 (file)
@@ -1,6 +1,6 @@
 2010-09-01  Teodor Zlatanov  <tzz@lifelogs.com>
 
-       * post-receive: Add modified post-receive hook for Git.
+       * post-receive: Add modified post-receive hook for Git.  Comment.
 
 2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
 
index de7e28d..37ec5f9 100755 (executable)
@@ -8,8 +8,8 @@ export USER_NAME=$(git log -1 --format=format:%an HEAD)
 
 # the remainder is the standard git-core post-receive-email with some changes:
 
-# - USER_EMAIL is used in the header
-# - USER_NAME is used in the header
+# - USER_EMAIL and USER_NAME are used in the header
+# - without annotations, we use `git log -1 --format=oneline' to generate the change summary (which could miss multiple changes)
 
 # Copyright (c) 2007 Andy Parkins
 #