Re: [PATCH] get_author_ident_from_commit(): remove useless quoting
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 27, 2010, 04:15 UTC
- Message-ID
- <7vfwwvn7o5.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1285233730-30611-1-git-send-email-u.kleine-koenig@pengutronix.de>
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> writes:
Show 8 quoted lines
> The command 's/'\''/'\''\'\'\''/g' only triples single quotes: > > $ echo "What's up?" | sed 's/'\''/'\''\'\'\''/g' > What'''s up? > > This doesn't hurt as compared to a single single quote it only adds an > empty string, but it makes the script needlessly complicated and hard to > understand.
Interesting. I think this was an ancient misconversion that dates back to June 2005 ;-)
Thanks.