From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: [PATCH] Documentation: quote double-dash in " -- " for AsciiDoc Date: Tue, 28 Jun 2011 18:47:17 -0400 Message-ID: <20110628224717.GC4192@sigill.intra.peff.net> References: <20110628171748.GA11485@elie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Junio C Hamano , git@vger.kernel.org To: Jonathan Nieder X-From: git-owner@vger.kernel.org Wed Jun 29 00:47:28 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qbh44-0003X9-A0 for gcvg-git-2@lo.gmane.org; Wed, 29 Jun 2011 00:47:28 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752116Ab1F1WrX (ORCPT ); Tue, 28 Jun 2011 18:47:23 -0400 Received: from 99-108-226-0.lightspeed.iplsin.sbcglobal.net ([99.108.226.0]:39051 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751777Ab1F1WrT (ORCPT ); Tue, 28 Jun 2011 18:47:19 -0400 Received: (qmail 11209 invoked by uid 107); 28 Jun 2011 22:47:36 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) (smtp-auth username relayok, mechanism cram-md5) by peff.net (qpsmtpd/0.84) with ESMTPA; Tue, 28 Jun 2011 18:47:36 -0400 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Tue, 28 Jun 2011 18:47:17 -0400 Content-Disposition: inline In-Reply-To: <20110628171748.GA11485@elie> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Jun 28, 2011 at 12:17:49PM -0500, Jonathan Nieder wrote: > As explained in v1.7.3-rc0~13^2 (Work around em-dash handling in newer > AsciiDoc, 2010-08-23), outside of verbatim environments, newish > versions of AsciiDoc will convert double hyphens to en dashes. Use > the litdd syntax introduced by that patch to avoid such misformatting > in sentences where "--" represents the two-character "end of options" > argument that separates revision names from filename patterns. Ugh. I just did a similar thing for "->". I really wish asciidoc would not expand symbols inside backticks in paragraph mode. > -to that of the last commit with `git reset HEAD -- `, > +to that of the last commit with `git reset HEAD {litdd} `, Does \-- work? That seems way more readable to me for people viewing the source. -Peff