summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-16 15:56:34 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-16 15:56:34 -0400
commitd7ceaa173018a7d7e748e0a6ecde245ec0558e8c (patch)
tree9c5a375e97cc03f377f21c125307b9abdc296ed2 /repo
parent6dd58fe29a4656fabe353c5a85bb303be0f4d73e (diff)
downloadgpsd-d7ceaa173018a7d7e748e0a6ecde245ec0558e8c.tar.gz
Remove a useless guard and experimental file listing.
Diffstat (limited to 'repo')
-rwxr-xr-xrepo/hooks/update10
1 files changed, 2 insertions, 8 deletions
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