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

Re: Apostrophe at the end of author name

From
KKKacper Kornet <kornet@camk.edu.pl>
Date
Jun 29, 2012, 19:59 UTC
Message-ID
<20120629195918.GB9403@camk.edu.pl>
In-Reply-To
<20120629182944.GA20346@sigill.intra.peff.net>
On Fri, Jun 29, 2012 at 02:29:44PM -0400, Jeff King wrote:
> On Fri, Jun 29, 2012 at 08:17:01PM +0200, Kacper Kornet wrote:
> > >  as strbuf_addstr_without_crud was
> > > only added recently (but it is a refactoring of older code which should
> > > have the same behavior).
> > It depends what you call recently. It was refactored in July 2005
> > (commit: 6aa33f4035d5). But it looks like the previous code (before
> > refactoring) removed only comma, dot and semicolon from the end of the
> > author name.
> I meant the name strbuf_addstr_without_crud did not exist until I added
> it in c96f0c8, about a month ago. But yes, the functionality of the code
> has been there since the very early days.
Show 6 quoted lines
> I'm tempting by the patch below, which would remove only the
> syntactically significant meta-characters ("\n", "<", and ">"), as well
> as trimming any stray whitespace at the edges. The problem is that we
> don't really have a clue how many people were relying on this trimming
> to clean up their names or emails, so there may be regressions for other
> people.
So maybe the option to enable/disable the old behaviour should be added.
-- 
  Kacper
Previous: Jeff King
Message 8 of 8 in “Apostrophe at the end of author name”
  1. Kacper KornetJun 29, 2012
  2. Robin H. JohnsonJun 29, 2012
  3. Jeff KingJun 29, 2012
  4. Kacper KornetJun 29, 2012
  5. Jeff KingJun 29, 2012
  6. Junio C HamanoJun 29, 2012
  7. Jeff KingJun 29, 2012
  8. Kacper KornetJun 29, 2012

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.