From patchwork Sat Apr 6 13:27:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oakley X-Patchwork-Id: 10888217 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 82D03139A for ; Sat, 6 Apr 2019 13:27:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51D4328807 for ; Sat, 6 Apr 2019 13:27:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4109728A5B; Sat, 6 Apr 2019 13:27:57 +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 D0D6628807 for ; Sat, 6 Apr 2019 13:27:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbfDFN1z (ORCPT ); Sat, 6 Apr 2019 09:27:55 -0400 Received: from smtp-out-4.talktalk.net ([62.24.135.68]:32092 "EHLO smtp-out-4.talktalk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726458AbfDFN1z (ORCPT ); Sat, 6 Apr 2019 09:27:55 -0400 Received: from localhost.localdomain ([2.101.245.142]) by smtp.talktalk.net with SMTP id ClMPhui0snuQZClMPhhS4S; Sat, 06 Apr 2019 14:27:54 +0100 X-Originating-IP: [2.101.245.142] X-Spam: 0 X-OAuthority: v=2.3 cv=echDgIMH c=1 sm=1 tr=0 a=mQgiQ6BlbOv19lEfDgieCg==:117 a=mQgiQ6BlbOv19lEfDgieCg==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=xtxXYLxNAAAA:8 a=B3RH6Lifwnz01wBJw0cA:9 a=-KTYnT8EMnQPRz2f:21 a=Al4F8JyZJqYHe3Gq:21 a=xts0dhWdiJbonKbuqhAr:22 From: Philip Oakley To: GitList Subject: [PATCH 2/2] describe doc: remove '7-char' abbreviation reference Date: Sat, 6 Apr 2019 14:27:47 +0100 Message-Id: <20190406132747.16376-3-philipoakley@iee.org> X-Mailer: git-send-email 2.21.0.windows.1.80.gdc2ae9a382 In-Reply-To: <20190406132747.16376-1-philipoakley@iee.org> References: <20190406132747.16376-1-philipoakley@iee.org> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfCPPHvF92TMdMvb2c5bNXaQnNLeH/FS2/GFZ3J0ouiR8WetOi3qU3KjiNOEYHjj5Gwamiy8XBpl3sjgWs5U4yiic5B+E11KwtyDfWXQ9BEdUh7XsV/iV lw8ElPZP0Dk9LN2QXpEZCLCPFfL3qKdqNqyyjHpVN4kpismYJEbXVQaRtvZl/VHYrEzxBzrrELo/Ag== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP While the minimum is 7-char, the unambiguous length can be longer. Signed-off-by: Philip Oakley --- noticed while looking int the Git-for-Windows patch thicket - was looking for the ~n^m style! --- Documentation/git-describe.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt index ccdc5f83d6..a88f6ae2c6 100644 --- a/Documentation/git-describe.txt +++ b/Documentation/git-describe.txt @@ -139,7 +139,7 @@ at the end. The number of additional commits is the number of commits which would be displayed by "git log v1.0.4..parent". -The hash suffix is "-g" + 7-char abbreviation for the tip commit +The hash suffix is "-g" + unambiguous abbreviation for the tip commit of parent (which was `2414721b194453f058079d897d13c4e377f92dc6`). The "g" prefix stands for "git" and is used to allow describing the version of a software depending on the SCM the software is managed with. This is useful