Subject: Re: [PATCH] Fix contrib/hooks/post-receive-email for new branch with no new commits

From: Junio C Hamano <[email-masked]>
Date: Tue, 10 Feb 2009 08:30:57 -0800

Jakub Narebski <[email-masked]> writes:

> +	this_branch=$refname
> +	other_branches=$(git for-each-ref --format='%(refname)' refs/heads/ |
> +               grep -v $this_branch)

This is still not quite right.  grep -F -v "$this_branch" perhaps?