From d7ceaa173018a7d7e748e0a6ecde245ec0558e8c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 16 Apr 2010 15:56:34 -0400 Subject: Remove a useless guard and experimental file listing. --- repo/hooks/update | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'repo') diff --git a/repo/hooks/update b/repo/hooks/update index b3f28e02..8a63e14b 100755 --- a/repo/hooks/update +++ b/repo/hooks/update @@ -3,7 +3,7 @@ # An example hook script to blocks unannotated tags from entering. # Called by git-receive-pack with arguments: refname sha1-old sha1-new # -# Has some local cusomizations at the end. +# Has some local customizations at the end. # # Config # ------ @@ -136,13 +136,7 @@ esac # Local customizations begin here. # -if [ "$oldrev" -a "$newrev" ] -then - /gitroot/gpsd/hooks/ciabot.py ${refname} $(git rev-list ${oldrev}..${newrev} | tac) - - echo "Files modified:" - git diff --name-only ${oldrev} ${newrev} -fi +/gitroot/gpsd/hooks/ciabot.py ${refname} $(git rev-list ${oldrev}..${newrev} | tac) # --- Finished exit 0 -- cgit v1.2.1