From patchwork Wed Aug 16 14:24:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_=C3=85gren?= X-Patchwork-Id: 13355307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A43E3C001B0 for ; Wed, 16 Aug 2023 14:26:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343587AbjHPO0W (ORCPT ); Wed, 16 Aug 2023 10:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343610AbjHPOZ7 (ORCPT ); Wed, 16 Aug 2023 10:25:59 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F12BE2711 for ; Wed, 16 Aug 2023 07:25:57 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4ff8a1746e0so2334132e87.0 for ; Wed, 16 Aug 2023 07:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692195956; x=1692800756; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sDLADkHWny+5n9d4AZ1kvLFwk9O09aZP8EJ2B/g78W4=; b=UQi8LX72sRTSBmThK0D/bpAlPAseMyWrT7AJVQ3KvE0ZBflZ2LKw5Ny0nDyL4zQWeN dQouFVBQ8J9yoFTyjV1K9cSm6kRClZ2uDYqpsz8yscOpAuP+UN9uVBoaa5bgZgHMgz/a w+903KjEWGOqig2xIdddrWvt4DZPJhN7TDZFaXSQRMJg5OZR7VcT8u5W60vfKeL8THEG TQX+AZOiJfVQsVv9/mmdL4Pl8wFCOxd77519j8sMLuonrTXWYhrgd7fsOIOALmh4QJ56 e6I0XGryarhwt7ApBkgEhn9/c6cVU2u3/9ecpOpkHBqM5tLlt3cjhLDSTxkdWZHO0+QJ I1Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692195956; x=1692800756; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sDLADkHWny+5n9d4AZ1kvLFwk9O09aZP8EJ2B/g78W4=; b=kwxcZsF9wLOe+wSYyEJOzS/Qm3LlwYg/V4SBDtOwn1D/n97+fMMktv4Vbvtcln1HtA fsy+4Npuv3mlsPSTRzSTNoJTp/tuD0Tnia89IcGH7F3s8Vy7Nqkqbp3hf5/IdnBuHvh5 M4NodFtmaB5aK4HCD//PLSoct5Z6NtxW+d2Qy7i3GHPcdveh36VKqPHjyjWMzTug+N6f M70FlD+DA1VTB6A5taf7Qie94W65lHg8BDEhW4b7sLShY3huAV5RN/+zyGkAj2TFKMmX nBIUedxYpHjSZjIHM38emujG5lsyOL6yRdZPGFx3C1Rl9UkBtbdqyoEZB3uKTgKW5OLr kacQ== X-Gm-Message-State: AOJu0Yw9YVFHpGtQ/PrZJqVULyz32yVVp993zIT2h4ogN7JRpa7BOITY ds7a5ShnnFb9qW5Qd3cYMkv3j9mCQUk= X-Google-Smtp-Source: AGHT+IHLRcM+AN7bEg9XS7uRvcQ41P1oZwZPrdARg4l9WgulxLEi57NoXMmHgfpdjJVyZhshUlpspA== X-Received: by 2002:a05:6512:12c1:b0:4fd:fadb:e6e4 with SMTP id p1-20020a05651212c100b004fdfadbe6e4mr2149325lfg.69.1692195955709; Wed, 16 Aug 2023 07:25:55 -0700 (PDT) Received: from localhost.localdomain (78-67-21-133-no600.tbcn.telia.com. [78.67.21.133]) by smtp.gmail.com with ESMTPSA id c18-20020a05651221b200b004fe1c9ce61bsm2927925lft.116.2023.08.16.07.25.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 07:25:55 -0700 (PDT) From: =?utf-8?q?Martin_=C3=85gren?= To: git@vger.kernel.org Cc: Teng Long Subject: [PATCH 1/4] notes doc: split up run-on sentences Date: Wed, 16 Aug 2023 16:24:33 +0200 Message-ID: X-Mailer: git-send-email 2.42.0.rc2.215.g538df5cf27 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org When commit c4e2aa7d45 (notes.c: introduce "--[no-]stripspace" option, 2023-05-27) mentioned the new `--no-stripspace` in the documentation for `-m` and `-F`, it created run-on sentences. It also used slightly different language in the two sections for no apparent reason. Split the sentences in two to improve readability, and while touching the two sites, make them more similar. Signed-off-by: Martin Ågren --- Documentation/git-notes.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt index bc1bfa3791..9043274ce8 100644 --- a/Documentation/git-notes.txt +++ b/Documentation/git-notes.txt @@ -141,17 +141,16 @@ OPTIONS If multiple `-m` options are given, their values are concatenated as separate paragraphs. Lines starting with `#` and empty lines other than a - single line between paragraphs will be stripped out, - if you wish to keep them verbatim, use `--no-stripspace`. + single line between paragraphs will be stripped out. + If you wish to keep them verbatim, use `--no-stripspace`. -F :: --file=:: Take the note message from the given file. Use '-' to read the note message from the standard input. Lines starting with `#` and empty lines other than a - single line between paragraphs will be stripped out, - if you wish to keep them verbatim, use with - `--no-stripspace` option. + single line between paragraphs will be stripped out. + If you wish to keep them verbatim, use `--no-stripspace`. -C :: --reuse-message=:: From patchwork Wed Aug 16 14:24:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_=C3=85gren?= X-Patchwork-Id: 13355310 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E6EBC41513 for ; Wed, 16 Aug 2023 14:26:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343590AbjHPO0W (ORCPT ); Wed, 16 Aug 2023 10:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343626AbjHPO0D (ORCPT ); Wed, 16 Aug 2023 10:26:03 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46BD72724 for ; Wed, 16 Aug 2023 07:26:00 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4ff975a9318so36953e87.2 for ; Wed, 16 Aug 2023 07:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692195958; x=1692800758; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=upy6/4ohUqIjpdDrWAcA5Hw3iU4dxg0GF9jpYhf4gTo=; b=N/te/K40nTJqrkeID6+sqs9mB73OD3EU0MXSQYudFg8XxPsk2YQSxKP2T0xnNlIEg9 /sgt7u3PD60MY6mjSp/LNjRYPRu+SVB2PcxHEZEexUmiETGDihcFXFUrhuogJ8SZhfAn LxLSZ9SMb8STAdf64luaANzOiLOrRDuuELoTXmDRPTpZeQONfBiqACLUlkD0bGbWgGAj yYMLcdJglQCLGHhWMorftrKmXFjqLAt06YdPadA+MEoPIUSqkL1Tm4oauzy58cvvOvq0 c+aibC6lPinKCKLP8sZ3EjSePMksbqVkbgJyPGt4R99vaw186o9rtAOXxuRLMO9H2oBZ LDNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692195958; x=1692800758; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=upy6/4ohUqIjpdDrWAcA5Hw3iU4dxg0GF9jpYhf4gTo=; b=RbxemMo5Iv7CbM9+pzrw2QsiAYJCErsHWsXYDF/uL22IbRHH/D1qr8skwWaWuUvYR0 wT23DNKwT65FzmNtOpRCMftcsAD6NosKI9PZJwCrV9nDgNQaW+KqmuskjAy/rNVpgczD 8RSJAE0SyQLXjt7i8czvfjBJ7jWfRmzMC/pALtaL2C2Rie4o+dozUJIHvDeogpKJSLG0 EeZlsZtnFCj0nR0gP8cUGhGR3PdUOfbxCRKGQhhLj+6mxxxNET4I+xXWcDrUTQYThzoa Yp5deFMpVW1Ke4+p2p126H8FeChEwcE2HwITa+OEvkVpyEbLln3AuVWveJtqHsOlGopj SxwQ== X-Gm-Message-State: AOJu0YzsHPcM2tXeLnwmb6r9jKGXxNwPwAtZ5U8x6irZmCugrujOqs4X ubrWAg0HyLf+ZsLL65o6KIvYv8bmJh0= X-Google-Smtp-Source: AGHT+IFLXOlxMNrZJ8z5B5ZxzsJzeVBgUNW/o9jqZWKjdI81iR7l1TG9zFOqD/3ifAuzEUyXtklNzw== X-Received: by 2002:a19:e05b:0:b0:4ff:8403:e88 with SMTP id g27-20020a19e05b000000b004ff84030e88mr1413559lfj.1.1692195957925; Wed, 16 Aug 2023 07:25:57 -0700 (PDT) Received: from localhost.localdomain (78-67-21-133-no600.tbcn.telia.com. [78.67.21.133]) by smtp.gmail.com with ESMTPSA id c18-20020a05651221b200b004fe1c9ce61bsm2927925lft.116.2023.08.16.07.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 07:25:57 -0700 (PDT) From: =?utf-8?q?Martin_=C3=85gren?= To: git@vger.kernel.org Cc: Teng Long Subject: [PATCH 2/4] notes doc: tidy up `--no-stripspace` paragraph Date: Wed, 16 Aug 2023 16:24:34 +0200 Message-ID: X-Mailer: git-send-email 2.42.0.rc2.215.g538df5cf27 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Where we document the `--no-stripspace` option, remove a superfluous "For" to fix the grammar. Mark option names and command names using `backticks` to set them in monospace. Signed-off-by: Martin Ågren --- Documentation/git-notes.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt index 9043274ce8..f8310e56a8 100644 --- a/Documentation/git-notes.txt +++ b/Documentation/git-notes.txt @@ -179,9 +179,9 @@ OPTIONS --[no-]stripspace:: Strip leading and trailing whitespace from the note message. Also strip out empty lines other than a single line between - paragraphs. For lines starting with `#` will be stripped out - in non-editor cases like "-m", "-F" and "-C", but not in - editor case like "git notes edit", "-c", etc. + paragraphs. Lines starting with `#` will be stripped out + in non-editor cases like `-m`, `-F` and `-C`, but not in + editor case like `git notes edit`, `-c`, etc. --ref :: Manipulate the notes tree in . This overrides From patchwork Wed Aug 16 14:24:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_=C3=85gren?= X-Patchwork-Id: 13355311 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 083F2C04A6A for ; Wed, 16 Aug 2023 14:26:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343595AbjHPO0X (ORCPT ); Wed, 16 Aug 2023 10:26:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343630AbjHPO0F (ORCPT ); Wed, 16 Aug 2023 10:26:05 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 783FF1999 for ; Wed, 16 Aug 2023 07:26:03 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4ff93a7f230so614667e87.1 for ; Wed, 16 Aug 2023 07:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692195961; x=1692800761; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vF145ZkJ8xrwcFh3xC/qm37Cjfgo1z6s+bcvnNcKx/Q=; b=T//je2EpgEYhvK4HGPJevig5ACCRM8s23Iz/f3Al3a1WkVXs1HIlbJtJezaQYSOsDq YVH96DKtGldWuOqwUSG53vzNpO726B2L9OeLhf0pydXSVdSBVGROUwZpc40RK79ehsZB MZsbqw8Xcgz9q7rWYS+bwXxTR6aDvVsWT17aoZngpyZg8mJEJpNZPVCkxxg7LhQ98hSf lBUy3L5pCMt0DwmNN6K6m9Lkr/CgKiiH9C5rjEELaEwD8dJeRvCrP3vfRIvR1fpI5StE OGQuNSt+1xYBkM87XslJS/z37K82ZsLhuDanxLrbY077zcRXWeN1KTMpuZaIA2N5IHbZ pgRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692195961; x=1692800761; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vF145ZkJ8xrwcFh3xC/qm37Cjfgo1z6s+bcvnNcKx/Q=; b=hrGDE5qNjkzmqKj15UI9u65fADMcRmqTh9Utt3jkG8v2GT+KH5QxA0VNOuwwj7VbCw iZOJO0Yt+E2Mra/YIafO8ga4j5hnX6usipJzIcVt3R/6rf7wEeRE+0FR2qb3RifenVcv U4lciT8CqsAOKVBh9ynvrEHMr1RYMSPe9E+S7IYmz8w4IhYoxe0QrLRM3UfRzixEe64N 8pTqoI9J21miQwBvYB9dOP1X1NenEXgwQrva5SorAmRvk2Wav6Nsd2CdtHJiSRWP9CQV uBShE6Y1zXGIElZ57hhbUW/KjJIHhScHdup96EJt4Zb96EkZOjH9KKRwVZVSfvY6UD9v u9Rw== X-Gm-Message-State: AOJu0YzkcZ25adEnPW7NHl43JeRBtXASAW0jGGq/GDcOtyhXJvh3yAMw BUxYn62BIAPhWuutyVlkqIUZxQrff9Y= X-Google-Smtp-Source: AGHT+IHfTjoDI87/ptY8X6iXXvXg2yT8o0tBNWdTBm5ptEtD6gHEmQ6IfWs5/xoVpa8KTNpFOyi59Q== X-Received: by 2002:ac2:4db6:0:b0:4fb:8ff3:1f74 with SMTP id h22-20020ac24db6000000b004fb8ff31f74mr834915lfe.20.1692195961253; Wed, 16 Aug 2023 07:26:01 -0700 (PDT) Received: from localhost.localdomain (78-67-21-133-no600.tbcn.telia.com. [78.67.21.133]) by smtp.gmail.com with ESMTPSA id c18-20020a05651221b200b004fe1c9ce61bsm2927925lft.116.2023.08.16.07.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 07:26:00 -0700 (PDT) From: =?utf-8?q?Martin_=C3=85gren?= To: git@vger.kernel.org Cc: Sean Allred Subject: [PATCH 3/4] show-ref doc: fix carets in monospace Date: Wed, 16 Aug 2023 16:24:35 +0200 Message-ID: X-Mailer: git-send-email 2.42.0.rc2.215.g538df5cf27 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org When commit 00bf685975 (show-ref doc: update for internal consistency, 2023-05-19) switched from double quotes to backticks around our {caret} macro, we started rendering "{caret}" literally. Fix this by replacing by a "^" character. Signed-off-by: Martin Ågren --- Documentation/git-show-ref.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt index 44c7387d78..2fe274b8fa 100644 --- a/Documentation/git-show-ref.txt +++ b/Documentation/git-show-ref.txt @@ -47,7 +47,7 @@ OPTIONS -d:: --dereference:: - Dereference tags into object IDs as well. They will be shown with `{caret}{}` + Dereference tags into object IDs as well. They will be shown with `^{}` appended. -s:: @@ -78,7 +78,7 @@ OPTIONS Make `git show-ref` act as a filter that reads refs from stdin of the form `^(?:\s)?(?:\^{})?$` and performs the following actions on each: - (1) strip `{caret}{}` at the end of line if any; + (1) strip `^{}` at the end of line if any; (2) ignore if pattern is provided and does not head-match refname; (3) warn if refname is not a well-formed refname and skip; (4) ignore if refname is a ref that exists in the local repository; From patchwork Wed Aug 16 14:24:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_=C3=85gren?= X-Patchwork-Id: 13355309 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35A06C04FDF for ; Wed, 16 Aug 2023 14:26:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343598AbjHPO0X (ORCPT ); Wed, 16 Aug 2023 10:26:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343635AbjHPO0G (ORCPT ); Wed, 16 Aug 2023 10:26:06 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A508C2716 for ; Wed, 16 Aug 2023 07:26:05 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fe0eb0ca75so9984443e87.2 for ; Wed, 16 Aug 2023 07:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692195963; x=1692800763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XK6ktpUgeEo11cTEM2EhwhawnVVGaAVI0JE3GVrarXI=; b=DqUKToS9MUjjdpqp2sg3YFwKT/GoosgjmXSr1xIuxM4cOoJ+tZB8JVuESXoXUv5S/a LnbZzysm0iM5IcymDZIi55InQrOrUiauyI/cbpfJ7++HXrWERwSfYyfmRRwdEM6+EzKu Dt78BkL0wOsTJUAvI0zUcmSiN8NmEM3UJ8qGgfM5fQN5h6s0nyDpzhGymaWDO51+L96w iiOIp6yTCM5Pmq8Fe/iJ+LVArVoVEWRkFqN+rK63M4OVJjXnJtZJouZKC2aZTCtEdyU1 0LcEKphEU0cH3jG/1dsN67oeUKut8ZNdnuoutxoTGW1dNSNHejsYNwcaSULVz1zatESK b1EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692195963; x=1692800763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XK6ktpUgeEo11cTEM2EhwhawnVVGaAVI0JE3GVrarXI=; b=gC3dwd/pb0T4dDAsZL8iOYiOjEqKMjfsWFmzO8nMf7KQXTYCNWEHIbmXdcmZcsqXN2 wFe6rXqORg1O/YRLht5NW5RQPAksMVZ+g7RcXPzP9uykyfZPVwM01HiqZz15RFlTzxbJ sH8DTA1Wxhii6+onQbI4KEu/mgmybQHdUov4GKxIMqmGJOzRFnrKxD6gLOKJa15NI6tG LD0KkSBQU822AigK0pU81Wsrj4eHaHVcvZDDW08vUQdrf8E5fB/Iccu950BvamJ0gfCf v7QjNQK5x+rC48Jer0yeBukguAU/FE1S4mfxx04syg+IHKMNtKagYrXQruRdeELVOYoQ U4Bg== X-Gm-Message-State: AOJu0YzrDLROgtokCQiTHMxBNXjpB/wkKm6nT2w1CfL0CXiEa+UgaXP9 Z78aO9oD+yRwAwDeUNexHU7MRWOdgr8= X-Google-Smtp-Source: AGHT+IEo4KZ3mImPHaKxouIFN8va4JOhH/dbVWrWjYS/fbz6AQ2avZfnfGB4CzbOvdfRQEDMD4jdYg== X-Received: by 2002:a05:6512:224a:b0:4ff:7e04:7575 with SMTP id i10-20020a056512224a00b004ff7e047575mr1756922lfu.14.1692195963261; Wed, 16 Aug 2023 07:26:03 -0700 (PDT) Received: from localhost.localdomain (78-67-21-133-no600.tbcn.telia.com. [78.67.21.133]) by smtp.gmail.com with ESMTPSA id c18-20020a05651221b200b004fe1c9ce61bsm2927925lft.116.2023.08.16.07.26.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 07:26:02 -0700 (PDT) From: =?utf-8?q?Martin_=C3=85gren?= To: git@vger.kernel.org Cc: Patrick Steinhardt Subject: [PATCH 4/4] rev-list-options: fix typo in `--stdin` documentation Date: Wed, 16 Aug 2023 16:24:36 +0200 Message-ID: X-Mailer: git-send-email 2.42.0.rc2.215.g538df5cf27 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org With `--stdin`, we read *from* standard input, not *for*. Signed-off-by: Martin Ågren --- Documentation/rev-list-options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index e6468bf0eb..a4a0cb93b2 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -237,7 +237,7 @@ endif::git-rev-list[] --stdin:: In addition to getting arguments from the command line, read - them for standard input as well. This accepts commits and + them from standard input as well. This accepts commits and pseudo-options like `--all` and `--glob=`. When a `--` separator is seen, the following input is treated as paths and used to limit the result.