From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 326281F428 for ; Wed, 22 Mar 2023 17:13:21 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=nkV1JFz9; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231235AbjCVRNT (ORCPT ); Wed, 22 Mar 2023 13:13:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230081AbjCVRNS (ORCPT ); Wed, 22 Mar 2023 13:13:18 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C7911E2A9 for ; Wed, 22 Mar 2023 10:13:17 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id p13-20020a17090a284d00b0023d2e945aebso1715300pjf.0 for ; Wed, 22 Mar 2023 10:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679505196; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=PuCODOjT1u2dwNCZQxAwGEHkfKEjN0+eYt2F2ilmW1E=; b=nkV1JFz9gVyFt5LlIZ/p/kmwuxDgAtXuoayhThIHCOfvCDqaRsiqQ2ahYh2/Gm0M6b QNcbWMaxMyKNmwGKqD4sMVIz1LkKwkfPHFnBpvfFTSX7pPmkgomtr8E0zAEtxzPL8J+A TwJACJVNn8uQdsjlKS4HP2CnkwZC5x8E5eHBJ2KwRQDH6Si7FZH9ATXEtxTmuDvxTNZf ITK+VvYqvx4WUsErL6Iei0ZVVxyFDCTLs96cr31FOzEW2yC5S6Y4oKGphurGk7grTMid DkwzI70BUoPd7VGMtFJF5ftYdMhffLZKXUjLwWYA5Yxk3+/Luex/MdYEy9teqVGQDDzN 0tOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679505196; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:sender:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=PuCODOjT1u2dwNCZQxAwGEHkfKEjN0+eYt2F2ilmW1E=; b=mmkTy1vEuM8lTreLpi3jbmwrNDZfzKdx1eJ1O8akphPy7OtVZYISyv6tVXZaNl0TGT Q243v3bS/0O0dxlsnJFxjQkSawFh3yGABNPtQe1iHSsR7c96V0Tt8ym9A9Ej0M93kXZQ 7U7xaORto9hrt1mgJYLh7hEeZSwP9hWicRE6s56aJ/ZDTq+0VCNOz9eTRxBEbvlA3da/ fT3q9DGHnGtOI4uffrkxc0gfEjDtpMNrFMgBiM3gVEM85CUcFFI+8FGQc11Mf0bfQ5Ut kwDQuh5Y+1w2xGksI+dlJvGzq4/YoHm6XbmGZy7Vcpkvf/X5YcJulbVq169tHcKU8pt8 7e4Q== X-Gm-Message-State: AAQBX9c+zPPmFEXQ64VW8QCkVR3Ar3Dvm468HGlj1eFFGwt2cc7y6PLo WimdhacaJq92qQTkANb7wd8= X-Google-Smtp-Source: AKy350a0ed+iYoCm8r00MlKWKPVdF7qW9eMnzYjhRmyYhTqyEa2z1x+NliF7awTIc0psI44zBNggVQ== X-Received: by 2002:a17:902:d492:b0:1a0:57df:861c with SMTP id c18-20020a170902d49200b001a057df861cmr2984985plg.1.1679505196413; Wed, 22 Mar 2023 10:13:16 -0700 (PDT) Received: from localhost (83.92.168.34.bc.googleusercontent.com. [34.168.92.83]) by smtp.gmail.com with ESMTPSA id 17-20020a170902ee5100b0019339f3368asm10878747plo.3.2023.03.22.10.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 10:13:16 -0700 (PDT) Sender: Junio C Hamano From: Junio C Hamano To: "Sean Allred via GitGitGadget" Cc: git@vger.kernel.org, Sean Allred , Sean Allred Subject: Re* [PATCH v2 2/2] Document the output format of ls-remote References: <44e79f0d69c86e3cf4363aaa10acda91bfa3e9ee.1679478573.git.gitgitgadget@gmail.com> Date: Wed, 22 Mar 2023 10:13:15 -0700 In-Reply-To: (Junio C. Hamano's message of "Wed, 22 Mar 2023 09:48:36 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Junio C Hamano writes: > The documentation for "show-branch" uses many s in the > description, which should be updated to match what its SYNOPSIS > section uses, which is . I forgot to list this in the list of actionable items at the end of my review message I am responding to, so here is a patch to help us not forget about it ;-). ----- >8 ----- Subject: show-branch doc: say , not The glossary defines 'ref' as the official name of the thing, and the output from "git grep -e ', not . In addition, the page already says in its SYNOPSIS section for the command when it is used in the mode to follow the reflogs. Strictly speaking, many references of these should be updated to after adding an explanation on how these s are discovered (i.e. we take , , or and starting from these commits, follow their ancestry or reflog entries to list commits), but that would be a lot bigger change I would rather not to do in this patch, whose primary purpose is to make the existing documentation more consistent. Signed-off-by: Junio C Hamano --- Documentation/git-show-branch.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git c/Documentation/git-show-branch.txt w/Documentation/git-show-branch.txt index 71f608b1ff..0874c01e37 100644 --- c/Documentation/git-show-branch.txt +++ w/Documentation/git-show-branch.txt @@ -74,8 +74,7 @@ OPTIONS that is the common ancestor of all the branches. This flag tells the command to go more common commits beyond that. When is negative, display only the - s given, without showing the commit ancestry - tree. + s given, without showing the commit ancestry tree. --list:: Synonym to `--more=-1` @@ -88,8 +87,8 @@ OPTIONS the case of three or more commits. --independent:: - Among the s given, display only the ones that - cannot be reached from any other . + Among the s given, display only the ones that + cannot be reached from any other . --no-name:: Do not show naming strings for each commit. @@ -132,7 +131,7 @@ are mutually exclusive. OUTPUT ------ -Given N , the first N lines are the one-line +Given N s, the first N lines are the one-line description from their commit message. The branch head that is pointed at by $GIT_DIR/HEAD is prefixed with an asterisk `*` character while other heads are prefixed with a `!` character.