Re: [PATCH] Fix "git checkout -b foo ':/substring'"
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Feb 2, 2008, 08:32 UTC
- Message-ID
- <alpine.LNX.1.00.0802020331210.13593@iabervon.org>
- In-Reply-To
- <7v1w7w6oq7.fsf@gitster.siamese.dyndns.org>
On Fri, 1 Feb 2008, Junio C Hamano wrote:
Show 5 quoted lines
> Because ':/substring' extended SHA1 expression cannot take
> postfix modifiers such as ^{tree} and ^{commit}, we would need
> to do it in multiple steps. With the patch, you can start a new
> branch from a randomly-picked commit whose message has the named
> string in it.Could we have a test for this? I'm not exactly sure how to use it, and I want to make sure my C version works.
-Daniel *This .sig left intentionally blank*