From patchwork Wed May 15 22:47:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oakley X-Patchwork-Id: 10945415 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1D34413AD for ; Wed, 15 May 2019 22:47:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B8D1286DA for ; Wed, 15 May 2019 22:47:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F337B28746; Wed, 15 May 2019 22:47:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D9E1286DA for ; Wed, 15 May 2019 22:47:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726482AbfEOWrS (ORCPT ); Wed, 15 May 2019 18:47:18 -0400 Received: from smtp-out-4.talktalk.net ([62.24.135.68]:43324 "EHLO smtp-out-4.talktalk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726449AbfEOWrS (ORCPT ); Wed, 15 May 2019 18:47:18 -0400 Received: from localhost.localdomain ([92.1.197.142]) by smtp.talktalk.net with SMTP id R2g6hewKCnuQZR2g7h9y9P; Wed, 15 May 2019 23:47:16 +0100 X-Originating-IP: [92.1.197.142] X-Spam: 0 X-OAuthority: v=2.3 cv=echDgIMH c=1 sm=1 tr=0 a=gH7h/AuSNjzKVpz8AWYPeg==:117 a=gH7h/AuSNjzKVpz8AWYPeg==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=xtxXYLxNAAAA:8 a=Obkg1d1cbEzlLVj79PEA:9 a=xts0dhWdiJbonKbuqhAr:22 a=pHzHmUro8NiASowvMSCR:22 a=n87TN5wuljxrRezIQYnT:22 From: Philip Oakley To: Git List Cc: Jeff King , Junio C Hamano , Johannes Schindelin , Duy Nguyen , Emily Shaffer , Eric Sunshine Subject: [PATCH v3 1/2] git.c: show usage for accessing the git(1) help page Date: Wed, 15 May 2019 23:47:08 +0100 Message-Id: <20190515224709.2936-2-philipoakley@iee.org> X-Mailer: git-send-email 2.21.0.windows.1.1517.gbad5f960a3.dirty In-Reply-To: <20190515224709.2936-1-philipoakley@iee.org> References: <20190515224709.2936-1-philipoakley@iee.org> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfJP3Xm/rQepz2PZMcLpa1bD8FemqzZABOL3jWxevi1RgP4Bd9VXYleowNzb8ScxMSz0xO9C5ZajyWUMJiPEgDGU3hSNprbrkrVT9DEAGGj5OQ7BjDwF9 AxxWdIDb2gMm9Jaca4eEl9pOzGTbm4WZdkmvENlEc1Ash/0E/VmbXMjr7r5Rvff1KUgS6+hnWXM0LTIZtCxoPwMVmI42YDl+tgxb6bSYWRvT12vb2Pq3aXsA dbmf0Ghp74nANlekKFTa5ZG++xtajELRWb5mLopkGowk9HsXww4fKbaZnEcoByx9x2iRLdVTHuX79DsMiSh3thBUhn9mdBm84G6jSDAOKmxF8SlMPcmPE3yC hbYTiuKOxjJSUYrmzBkmGohB6Djtgw== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It is not immediately obvious how to use the `git help` system to show the git(1) page, with its overview and its background and coordinating material, such as environment variables. Let's simply list it as the last few words of the last usage line. Signed-off-by: Philip Oakley --- This follows from the discussion <3cd065d1-9db5-f2e6-ddff-aa539746d45e@iee.org> --- git.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git.c b/git.c index 2324ac0b7e..9e24de43d7 100644 --- a/git.c +++ b/git.c @@ -33,7 +33,8 @@ const char git_usage_string[] = const char git_more_info_string[] = N_("'git help -a' and 'git help -g' list available subcommands and some\n" "concept guides. See 'git help ' or 'git help '\n" - "to read about a specific subcommand or concept."); + "to read about a specific subcommand or concept.\n" + "See 'git help git' for an overview of the system."); static int use_pager = -1; From patchwork Wed May 15 22:47:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oakley X-Patchwork-Id: 10945417 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B1AD01398 for ; Wed, 15 May 2019 22:47:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0729286DA for ; Wed, 15 May 2019 22:47:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94C4328746; Wed, 15 May 2019 22:47:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 367B72870D for ; Wed, 15 May 2019 22:47:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726503AbfEOWrU (ORCPT ); Wed, 15 May 2019 18:47:20 -0400 Received: from smtp-out-4.talktalk.net ([62.24.135.68]:46916 "EHLO smtp-out-4.talktalk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbfEOWrT (ORCPT ); Wed, 15 May 2019 18:47:19 -0400 Received: from localhost.localdomain ([92.1.197.142]) by smtp.talktalk.net with SMTP id R2g6hewKCnuQZR2g8h9y9W; Wed, 15 May 2019 23:47:17 +0100 X-Originating-IP: [92.1.197.142] X-Spam: 0 X-OAuthority: v=2.3 cv=echDgIMH c=1 sm=1 tr=0 a=gH7h/AuSNjzKVpz8AWYPeg==:117 a=gH7h/AuSNjzKVpz8AWYPeg==:17 a=anyJmfQTAAAA:8 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=hZl4FlbxAAAA:8 a=PKzvZo6CAAAA:8 a=xtxXYLxNAAAA:8 a=_P215tvOIjpIuU0ZxgcA:9 a=YHcIV1kcuJAA:10 a=YJ_ntbLOlx1v6PCnmBeL:22 a=zNGlSMxTWkni11D5GzKz:22 a=q92HNjYiIAC_jH7JDaYf:22 a=xts0dhWdiJbonKbuqhAr:22 a=pHzHmUro8NiASowvMSCR:22 a=n87TN5wuljxrRezIQYnT:22 From: Philip Oakley To: Git List Cc: Jeff King , Junio C Hamano , Johannes Schindelin , Duy Nguyen , Emily Shaffer , Eric Sunshine Subject: [PATCH v3 2/2] Doc: git.txt: remove backticks from link and add git-scm.com/docs Date: Wed, 15 May 2019 23:47:09 +0100 Message-Id: <20190515224709.2936-3-philipoakley@iee.org> X-Mailer: git-send-email 2.21.0.windows.1.1517.gbad5f960a3.dirty In-Reply-To: <20190515224709.2936-1-philipoakley@iee.org> References: <20190515224709.2936-1-philipoakley@iee.org> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfM/fnHInAh7W/qjEyVZfe55lZWEtsb1nKhihiDywim+jAkIYHG+3TkwqmOQcNHTu1zTXatsjMKQ0r9XJUgJLOZEw/HV1j/fGWo/zjbft4VZS5Yx/gJJM Z2iSVpnb/XRSadGeCccoaYDmFiVvrvlz1lUWKIxXbSqggeMp3INRjhYMiIoseHG4IsA5rkYNzXFH0PZoNxjOVY81o4vE6b2MeMycpSTYmWegpo8sVKpp+p5t YEkn3yraWyucLp4wkF8mdkdDU2X/HPxhkNm66CU8SW9WmvbJv/6Gh/WZWWW+fn0nDSv2XMNrrQBhBHo54jQhPUPlqT9uhZiCyMzOINLOjr13CMJZIWIoNPEM 3gFNoQYOuZDo1tTriVs7lb+VvxXh9A== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP While checking the html formatted git(1) manual page, it was noted that the link to https://git.github.io/htmldocs/git.html was formatted as code. Remove the backticks. While at it, add the https://git-scm.com/docs link which one reviewer noted had linkable section headings. Helped-by: Jeff King Signed-off-by: Philip Oakley --- Documentation/git.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/git.txt b/Documentation/git.txt index dbf92f6ac6..edcb9936b5 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -33,7 +33,8 @@ individual Git commands with "git help command". linkgit:gitcli[7] manual page gives you an overview of the command-line command syntax. A formatted and hyperlinked copy of the latest Git documentation -can be viewed at `https://git.github.io/htmldocs/git.html`. +can be viewed at https://git.github.io/htmldocs/git.html +or https://git-scm.com/docs. OPTIONS