From 43232a87e97fce006f78143bb3b5332e19899a46 Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Fri, 21 Aug 2009 23:25:23 -0400 Subject: [PATCH] zephyr-post-receive: git-foo with a hyphen doesn't work any more. Signed-off-by: Geoffrey Thomas --- git-hooks/zephyr-post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hooks/zephyr-post-receive b/git-hooks/zephyr-post-receive index e7b70d9..48534d0 100755 --- a/git-hooks/zephyr-post-receive +++ b/git-hooks/zephyr-post-receive @@ -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' \ -- 2.44.0