Apostrophe at the end of author name
- From
Kacper Kornet <draenog@pld-linux.org>
- Date
- Jun 29, 2012, 12:41 UTC
- Message-ID
- <20120629124122.GG1258@camk.edu.pl>
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?
-- Kacper