Re: [PATCH] Fix contrib/hooks/post-receive-email for new branch with no new commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 10, 2009, 16:30 UTC
- Message-ID
- <7vbptantj2.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <m3ab8uuwfg.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> 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?