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

Re: [PATCH] remove "[PATCH]" prefix from shortlog output

From
Nicolas Pitre <nico@cam.org>
Date
Dec 11, 2006, 03:17 UTC
Message-ID
<Pine.LNX.4.64.0612102147460.2630@xanadu.home>
In-Reply-To
<Pine.LNX.4.63.0612110040260.1471@wbgn013.biozentrum.uni-wuerzburg.de>
On Mon, 11 Dec 2006, Johannes Schindelin wrote:
Show 9 quoted lines
> Hi,
> 
> On Sun, 10 Dec 2006, Junio C Hamano wrote:
> 
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> > 
> > > It tries not only to strip "[PATCH]", but also "[PATCH 0/n]" and basically 
> > > every prefix beginning with "[PATCH" and ending in "]". I do not remember 
> > > if I really tested that code, but it should work.
Hmmm well, right.  And of course I failed to notice that code was there.

I think I was corrupted by the dark side and failed to properly "use the source" twice on that tool this week.

> > The problem is that you forgot that the lines are indented when
> > acting as a filter.
Which was indeed my use case.
> Of course!
> 
> And your patch looks correct to me.
Confirmed.
Previous: Johannes Schindelin
Message 7 of 7 in “remove "[PATCH]" prefix from shortlog output”
  1. remove "[PATCH]" prefix from shortlog outputNicolas Pitre, Dec 10, 2006
  2. Johannes SchindelinDec 10, 2006
  3. Jakub NarebskiDec 10, 2006
  4. Johannes SchindelinDec 10, 2006
  5. Junio C HamanoDec 10, 2006
  6. Johannes SchindelinDec 10, 2006
  7. Nicolas PitreDec 11, 2006

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.