From: Ted Zlatanov Date: Wed, 1 Sep 2010 12:47:37 +0000 (-0500) Subject: post-receive: Rewrote and extended comments. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=8229c618c1c4fdd041277de1f865f6eb7f1b091f post-receive: Rewrote and extended comments. --- diff --git a/etc/ChangeLog b/etc/ChangeLog index 4199f4ef0..2c9789782 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,6 +1,6 @@ 2010-09-01 Teodor Zlatanov - * post-receive: Add modified post-receive hook for Git. + * post-receive: Add modified post-receive hook for Git. Comment. 2010-03-22 Teodor Zlatanov diff --git a/etc/post-receive b/etc/post-receive index de7e28d5a..37ec5f9f6 100755 --- a/etc/post-receive +++ b/etc/post-receive @@ -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 #