From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 4F9B71F9FD for ; Tue, 23 Feb 2021 06:42:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231177AbhBWGkR (ORCPT ); Tue, 23 Feb 2021 01:40:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231562AbhBWGj5 (ORCPT ); Tue, 23 Feb 2021 01:39:57 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50310C061786 for ; Mon, 22 Feb 2021 22:39:17 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id 75so11758683pgf.13 for ; Mon, 22 Feb 2021 22:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=t/W/8w0LwLCPzZJ7aUtGLyOzEv36kB2MALwddxUQ90A=; b=QYLu2VRZW+Gg7ufxkAugrZ4CuA/v4bWjHsJVlMHBAxVU/gHIXBN6JAqZsHIOBahQZ8 lKkDQeYF1l43lt9ZrWCpGFINHJMJs+cbtXi15hscf7G6rDjK926E/AbBQe8cQQFOX2qp 8TeiroTk2ivSI7lqEFEx57ZV/aHC6tJ1X240/krE9FaxP+3TwJ1lhWbLJlYEYtNU5hSz 3jSX2G9k8aAdsP2+CnM6GmaYxAX2ktjpLyUH18vJAakJzadKxKDPX80aKLdi+RGSR4mX mvSHIafBsSFtvIqOQBHhVVqSfMjIqFqXdDs9wCmzibifg6sIxp8zl3TOOhyrP6SuLhzZ 0nXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t/W/8w0LwLCPzZJ7aUtGLyOzEv36kB2MALwddxUQ90A=; b=gGgaUlTtUUBK8Xn25LAnzattvH9wlJbhT9MzjZjfe9Dx0V0IWMdMfCqWqslqwa4fBw HwYudB9t9ZJiWkz32/FSaJoOSwG6xShlM8GzqzsXzFtKsHvLMYO/m6C/K8audXiqhTYJ KRoRlXachXqDcHQkKtQM6OqORZ+C8U9wvLFDZqyjQZly36VpB7iFGOk77+uwRBXDs5sz Tia9g8nlRwakh0Q7EdKyh8Q22ovPx3PC3yzk3UGlXG4EhB2odOS0wMQlZ0XhbHtfAjfg CWRLktu+kkeNw1SDXA6XRcW/gglkcauhemFelp326nF/X8244433LiM/cbMLmqB15b/r 9NuQ== X-Gm-Message-State: AOAM533oww2PLJSYpFNUl8FNztAl/vm8AnJPJX3xMiJW2vlNWxquOLVy 75CjxfWMZ1LeURd1yVkXWCpj3DPCxPY= X-Google-Smtp-Source: ABdhPJyKQ51x1aBodNYCbdnFBOil5uqgWlF4DM+MNTu86oYNpktv0mnfiDgL+iTjYC6kIfToemXq+g== X-Received: by 2002:a63:1b48:: with SMTP id b8mr10086517pgm.334.1614062356600; Mon, 22 Feb 2021 22:39:16 -0800 (PST) Received: from archbookpro.hsd1.ca.comcast.net ([2601:647:4201:c540::414c]) by smtp.gmail.com with ESMTPSA id j1sm21355055pfr.78.2021.02.22.22.39.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 22:39:16 -0800 (PST) From: Denton Liu To: Git Mailing List Subject: [PATCH 2/3] git-cat-file.txt: monospace args and placeholders Date: Mon, 22 Feb 2021 22:39:07 -0800 Message-Id: <1ab7ca7fc0928b40c47b53d97695ae911ba93c39.1614062288.git.liu.denton@gmail.com> X-Mailer: git-send-email 2.30.0.478.g8a0d178c01 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org In modern documentation, args and placeholders are monospaced. Format all remaining args and placeholders as monospace. Signed-off-by: Denton Liu --- Documentation/git-cat-file.txt | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt index 8e192d87db..987d170506 100644 --- a/Documentation/git-cat-file.txt +++ b/Documentation/git-cat-file.txt @@ -35,42 +35,42 @@ OPTIONS -t:: Instead of the content, show the object type identified by - . + ``. -s:: Instead of the content, show the object size identified by - . + ``. -e:: - Exit with zero status if exists and is a valid - object. If is of an invalid format exit with non-zero and + Exit with zero status if `` exists and is a valid + object. If `` is of an invalid format exit with non-zero and emits an error on stderr. -p:: - Pretty-print the contents of based on its type. + Pretty-print the contents of `` based on its type. :: - Typically this matches the real type of but asking + Typically this matches the real type of `` but asking for a type that can trivially be dereferenced from the given - is also permitted. An example is to ask for a - "tree" with being a commit object that contains it, - or to ask for a "blob" with being a tag object that + `` is also permitted. An example is to ask for a + "tree" with `` being a commit object that contains it, + or to ask for a "blob" with `` being a tag object that points at it. --textconv:: Show the content as transformed by a textconv filter. In this case, - has to be of the form :, or : in + `` has to be of the form `:`, or `:` in order to apply the filter to the content recorded in the index at - . + ``. --filters:: Show the content as converted by the filters configured in - the current working tree for the given (i.e. smudge filters, - end-of-line conversion, etc). In this case, has to be of - the form :, or :. + the current working tree for the given `` (i.e. smudge filters, + end-of-line conversion, etc). In this case, `` has to be of + the form `:`, or `:`. --path=:: - For use with --textconv or --filters, to allow specifying an object + For use with `--textconv` or `--filters`, to allow specifying an object name and a path separately, e.g. when it is difficult to figure out the revision from which the blob came. @@ -115,7 +115,7 @@ OPTIONS repository. --allow-unknown-type:: - Allow -s or -t to query broken/corrupt objects of unknown type. + Allow `-s` or `-t` to query broken/corrupt objects of unknown type. --follow-symlinks:: With --batch or --batch-check, follow symlinks inside the @@ -175,15 +175,15 @@ respectively print: OUTPUT ------ -If `-t` is specified, one of the . +If `-t` is specified, one of the ``. -If `-s` is specified, the size of the in bytes. +If `-s` is specified, the size of the `` in bytes. -If `-e` is specified, no output, unless the is malformed. +If `-e` is specified, no output, unless the `` is malformed. -If `-p` is specified, the contents of are pretty-printed. +If `-p` is specified, the contents of `` are pretty-printed. -If is specified, the raw (though uncompressed) contents of the +If `` is specified, the raw (though uncompressed) contents of the `` will be returned. BATCH OUTPUT -- 2.30.0.478.g8a0d178c01