From cd2912dc476fbde1600908d9d47235a563ca3136 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 21 May 2010 16:20:55 +0200 Subject: [PATCH 1/1] fix refname parsing Signed-off-by: martin f. krafft --- post-receive-hook.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/post-receive-hook.sh b/post-receive-hook.sh index 04198d3..a5df638 100755 --- a/post-receive-hook.sh +++ b/post-receive-hook.sh @@ -13,8 +13,9 @@ siblingscript="${realself%/*}/fbi-announce.sh" process_update() { - for commit in $(git rev-parse --not --branches | grep -v ${rev} | - git rev-list --reverse --stdin ${1}..${2}); do + for commit in $(git rev-parse --not --branches | + grep -v $(git rev-parse ${3}) | + git rev-list --reverse --stdin ${1}..${2}); do ${siblingscript} ${3} ${commit} done } -- 2.39.5