Re: [PATCH 3/3] fetch: Use the remote's ref name to decide how to describe new refs.
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 16, 2012, 22:34 UTC
- 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