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

Re: Apostrophe at the end of author name

From
Robin H. Johnson <robbat2@gentoo.org>
Date
Jun 29, 2012, 17:05 UTC
Message-ID
<robbat2-20120629T170457-788694600Z@orbis-terrarum.net>
In-Reply-To
<20120629124122.GG1258@camk.edu.pl>
On Fri, Jun 29, 2012 at 02:41:22PM +0200,  Kacper Kornet wrote:
Show 8 quoted lines
> I try to import some repositories into git and one of the developers has
> asked his name to be presented as: Name 'Nick' <email>.
> However git commit --author="Name 'Nick' <email>" strips the last
> apostrophe and produces a commit authored by: Name 'Nick <email>.
> 
> Maybe the function  strbuf_addstr_without_crud in ident.c should strip
> the trailing apostrophe only when it removed it also from the beginning
> of the string?

Which version of Git? And is it being stripped by git, or one of the import tools?

-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
Previous: Kacper KornetNext: Jeff King
Message 2 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.