From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D1AEC34031 for ; Tue, 18 Feb 2020 21:47:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D64424125 for ; Tue, 18 Feb 2020 21:47:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="WlyQdgrf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727497AbgBRVrh (ORCPT ); Tue, 18 Feb 2020 16:47:37 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:63696 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726481AbgBRVrh (ORCPT ); Tue, 18 Feb 2020 16:47:37 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 50D3A5D384; Tue, 18 Feb 2020 16:47:35 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=TipZ5PVndv/vaesPsYr4+I0lNgA=; b=WlyQdg rfA/LvllOLnJ9wVqyeVxWVWb/BeqIVXUZOprEpS96s6vCZAVV63MxMEpWFSrNcOZ L14ubFb3qZQn9ndRRPm3iT2lEuyU6vCSNnH2DEFnX31PRiJWS5EejHU9dnXHLTOn 22OgIyNWFlXeOTZURs4OHzW6Ix6GwYNueiO/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; q=dns; s=sasl; b=PqIRUYKwKu31Ln7hIYp2Z+0nhmHffZrQ Rm4GiL+i1jZluuoIb/NAA84r04Pvaxwymz9tkJrDC3SMys1E63JNoNfZT/FrHTw3 quXUtT2tTqxYrDJ+fJqVfSa9jnXHHcuQy9LBdPq6Fsxj2tAwUdHyowTeMrf6hCvO /ek/atyeCKI= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 4879E5D383; Tue, 18 Feb 2020 16:47:35 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.76.80.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 9F6405D382; Tue, 18 Feb 2020 16:47:34 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: Jeff King Cc: git@vger.kernel.org, Drew DeVault Subject: Re: [PATCH] doc/config/push: use longer "--" line for preformatted example In-Reply-To: <20200218212537.GA33327@coredump.intra.peff.net> (Jeff King's message of "Tue, 18 Feb 2020 16:25:37 -0500") References: <20200218212537.GA33327@coredump.intra.peff.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Tue, 18 Feb 2020 13:47:33 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 45BBF51E-5298-11EA-9BB3-D1361DBA3BAF-77302942!pb-smtp2.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Jeff King writes: > The example for the push.pushOption config tries to create a > preformatted section, but uses only two dashes in its "--" line. In > AsciiDoc this is an "open block", with no type; the lines end up jumbled > because they're formatted as paragraphs. We need four or more dashes to > make it a "listing block" that will respect the linebreaks. And the itemized list in push.default is delimited with two dashes as a non listing block, so it is shown correctly as a bulletted list just fine. Makes sense. Will queue.