zephyr-post-receive: git-foo with a hyphen doesn't work any more.
authorGeoffrey Thomas <geofft@mit.edu>
Sat, 22 Aug 2009 03:25:23 +0000 (23:25 -0400)
committerGeoffrey Thomas <geofft@mit.edu>
Sat, 22 Aug 2009 03:25:23 +0000 (23:25 -0400)
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
git-hooks/zephyr-post-receive

index e7b70d9f13fe21264dfdb5447fae3ed1bfff7e9c..48534d0ad48ca9e7549095eacae661e8aa3f3512 100755 (executable)
@@ -31,7 +31,7 @@ while read oldrev newrev refname; do
       -m "New branch created."
     continue
   fi
-  git-rev-list --reverse "$oldrev..$newrev" | while read rev; do
+  git rev-list --reverse "$oldrev..$newrev" | while read rev; do
     shortrev=`git log -1 --pretty=format:%h "$rev"`
     (git show --stat $usecolor "$rev" |
      sed -e 's/@/@@/g' \