From: Jonathan Nieder Date: Mon, 16 Apr 2012 22:34:29 GMT Subject: Re: [PATCH 3/3] fetch: Use the remote's ref name to decide how to describe new refs. Message-ID: <20120416223429.GA13440@burratino> In-Reply-To: <1334614130-31826-4-git-send-email-marcnarc@xiplink.com> marcnarc@xiplink.com wrote: > + grep descriptive-branch actual | grep "[new branch]" && > + grep descriptive-tag actual | grep "[new tag]" && > + grep others/crazy actual | grep "[new ref]" Careful. :) I suppose the simplest fix would be to leave out the brackets so the '[new ref]' tag is not misinterpreted as a character class, like so: grep "new branch.*descriptive-branch" actual && grep "new tag.*descriptive-tag" actual && grep "new ref.*others/crazy" actual