git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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*
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “Fix "git checkout -b foo ':/substring'"”
  1. Fix "git checkout -b foo ':/substring'"Junio C Hamano, Feb 2, 2008
  2. Daniel BarkalowFeb 2, 2008
  3. Junio C HamanoFeb 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.