Sample update hook: typofix and modernization to use "git log"
authorAndy Parkins <andyparkins@gmail.com>
Fri, 2 Mar 2007 19:29:20 +0000 (19:29 +0000)
committerJunio C Hamano <junkio@cox.net>
Fri, 2 Mar 2007 23:06:25 +0000 (15:06 -0800)
commit3d84df43e134d01cb790ddd47a14963ecd110152
tree5ef30ae20101080c6b1622a39a829a2830d939e2
parent8ab3e1858676b91bf351537b8afd5599c6640e6f
Sample update hook: typofix and modernization to use "git log"

Instead of using antiquated "git-rev-parse | git-rev-list"
pipeline, it is easier to use "git-rev-list" or "git-log" these
days, as Linus points out.

While we are at it, fix the typo on variable name $newref that
should be $newrev.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--update