From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IKUjF1DGZGIqEgAAbAwnHQ (envelope-from ) for ; Sun, 24 Apr 2022 05:38:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iEAqF1DGZGKmoQAA9RJhRA (envelope-from ) for ; Sun, 24 Apr 2022 05:38:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB4442CEAD for ; Sun, 24 Apr 2022 05:38:55 +0200 (CEST) Received: from localhost ([::1]:45292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niT5K-00075b-Ry for larch@yhetil.org; Sat, 23 Apr 2022 23:38:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niT4G-00075P-PA for emacs-orgmode@gnu.org; Sat, 23 Apr 2022 23:37:48 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:45847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niT4F-0007V1-1y for emacs-orgmode@gnu.org; Sat, 23 Apr 2022 23:37:48 -0400 Received: by mail-pg1-x52c.google.com with SMTP id k29so10581731pgm.12 for ; Sat, 23 Apr 2022 20:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vk6kmAwAOh/ivTLnJTitKs2VuKqEPla42IFPJi9yRVs=; b=URC2KYNt52kpoHI4i9K0uz4cVJAzZvaLSXPG1b26zdQd/1bToLv4STzYxYgdkKNZII bI38Xzm+z9C+jPpr8AOLANKQzS7fl4CNS/DimCBtmdZJ9IFrKcGtmVI6CPC1kXjpbRJ8 L4dv5tI8A01+v9CuFNqJMGYs8LZl3zCQsziYD+ZV+JR62M92j8w4rBc+XmJvOBhQ24xp Lcqp1fGec0wFZ+EOTuRqfg9/a5ULRwzJ653JCUrWkON1rSNAB005AM4MF9M45PZhRi9U CsDOfE4Q5ftG+GhZcoSJIWh9VSFgbibf0sfYFCgXiB4k1Tio/2RpsCqPe4LXHP+JqDvH Os6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vk6kmAwAOh/ivTLnJTitKs2VuKqEPla42IFPJi9yRVs=; b=3sjn5aEP4bB//I3OuA9T84X2/YIor0FInI5+5pZzSwfzyd6+VqorbSDL6uHN0Cf+iE e6UNEWHixfn5jn2ju93ixUmgwnKonHIs9TgR1snlkVONzl/niztRagG9ZgYLikRUqbLP vlY5gMYfOF1k0Tn6TfjRD8GlbgxL1nOoLH5cKeVmXMhUg4h8Cel1EriL8vIDTHwFKPpt 4rjzGHdlq9yk4tkkWSZrC2KQfCH5anIAz6I3Q2fd+IhkTxIxxVh7vLBMQFeioTbHNBFr Wby3yS99otEc+5NwnQ8hGnfud1ffevMiHDvfFnHF2Lw0vZ3O03zF2PFjOHyhIoAzfxT/ iZdQ== X-Gm-Message-State: AOAM532pjX+5m5JHoWcuwkFPYqiVWh2/5d5NxY49F9BLpCgk6/CSERFo ycnpDtmaa9F0bSo4E4B3v3YozGJz7QOO+7fBsXwdyp9ngEk= X-Google-Smtp-Source: ABdhPJy0cDnTAgJmIt1ES2sPNKtRwXZPrBb3npeZ3KZcQr7WLokpUJzAAR2VMRYBOGZsd5pXPRzmPtAr2Zq8fEipUqE= X-Received: by 2002:a63:4e45:0:b0:39d:4d2d:815e with SMTP id o5-20020a634e45000000b0039d4d2d815emr9869746pgl.198.1650771465526; Sat, 23 Apr 2022 20:37:45 -0700 (PDT) MIME-Version: 1.0 References: <87y25ztcgr.fsf@localhost> <87bl1hdvuj.fsf@localhost> <87mtl037ez.fsf@localhost> <878rwiil7c.fsf@localhost> In-Reply-To: <878rwiil7c.fsf@localhost> From: Kaushal Modi Date: Sat, 23 Apr 2022 23:37:08 -0400 Message-ID: Subject: Difference seen in org-version strings when built from git To: Ihor Radchenko Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=kaushal.modi@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650771536; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vk6kmAwAOh/ivTLnJTitKs2VuKqEPla42IFPJi9yRVs=; b=IU3p9zJghPxwSdpcRI2PBkdJrLrCtqH/rekk7pwulptSA3KeNqRbaIaOMnnanaHwMY3CK6 5FMmKLGBXfORPQcM7fAIAswUB/WCQ/6Jw1acP34UJMbGX+vZiTCdSCm9josamX09FbVRBj mgMevWx9vl1VTlF71oqIazHEfiOil1rVjyfRPsriIlG2OXpUnKejIockEhpFhqFyMpAQGs Tdm7GB8NjqF/yW45m9m1uiQw3YEmV1GVapyE6p2kuAw++HFWqfBOHDASsXsFl0zbHJAt0g K0ZJeTemCOWQC+Td8TSWbpimAZp/HsuM+QRmeDxVimHS1z7Dzu+yAIVQWEd58w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650771536; a=rsa-sha256; cv=none; b=jhuRcAvQZ2ysJ23IUj2UQNToZ5HEjone+96ej/WdGDTzhrzXhdtU2yBom8Yg4yW8TYVm1s ULkmOqB/PYLFEc4MkDTeUstxCRPbPk0HST5xPZ0TGF9X1/ogCasL+mU8SREIYrlvD4TwrX So9Y+y08KMPUWDZOF6ZHlNrSimQxp12KEOdVWGOEh2l9G7j4D+ffrmqcEJU/DTmxcYdezx 77ymW0ReEgauE9zRo60ymh5CtOrdKYAcOpF7nIsWBfhjHyAOwxMrQyjk15kTpJzV3Xm1HO iUBY1AKA8dzf/P2z6VZrW9sqL+9tFhwtcgqesSqNE6SbSOR7zQ5r2htKznstvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=URC2KYNt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=URC2KYNt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AB4442CEAD X-Spam-Score: -4.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: sRo3oWKybyRE On Fri, Dec 17, 2021 at 11:34 PM Ihor Radchenko wrote: > > Kaushal Modi writes: > > > I actually run a wrapper script to update Org and that has all that: > > ... > > I verified that at least the git hash was latest as of then: > > release_9.5-364-g*de022e* > > Odd. Though the commit number is indeed correct. I figured out this mystery .. >From the org-fixup function in mk/org-fixup.el, I saw that the "git describe .." command is used to derive the Org version with git hash. That bakes in the last tag + number of commits seen since that tag in the org-version returned string. Turns out that I was simply doing a pull of the main branch and building Org all this time. I wasn't fetching all the tags! I saw the version as "release_9.5-364-gde022e". That meant that "release_9.5" happened to be the last fetched tag in my local repo back then. Fix was simple.. I had to do "git fetch --all" before building Org.