From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5710 invoked from network); 20 Jul 2023 05:59:02 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Jul 2023 05:59:02 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1689832743; b=G+2+m9m7GyCtEGAg7leX2rRnf5rsl+FOsfy1ccEBLANPzbsqJHIX7onrf1AjYImE56bKDU8IPO YkwLi/EJ39z4bF9kuqxBUys6QVKS9tw2s0u911qISdFLhjGFesp4eqnVegLXo+Imfu8TF8gK72 PiRNAo8k+EFMcTYwv1OWeZKXr+Yl9/if3vpoD2DAiijp6nZQZy1IhVk91b25mQcy8o5X9EKJ5P nmPL/PXGn4aOxC9e+bmiB+m2MHHO5QqoKha4geDoIO52XGptxIj25WGW9d1zlb9cQDzU4LDsds ATOb7jM8Yp6Ph9QvQE0/2uqjvuZgCCk2t4I31bUDehhYkw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f50.google.com) smtp.remote-ip=209.85.208.50; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1689832743; bh=urW4Q9t5QRu+Uz15lPf+MDTbr+9hA7wYR4A5iebtbok=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=aOJF0pfDhTA/0FgzgcsbhigGylpMoxqjG//yLltrkTfa6SzY0XNvEWsookhf/THn7vGnhzyFwq Us1wSocYbClTuZXVURKFU5wvSc1cWREHcbCYfH9ok62VcKFPneOO+nAGub1WaZlO2l4FY1+5Eg /8GIVxqlakVcXSEjrTpoJXpAwPoeKdei5JJhFFN4mUwcwlI7Ye0vDwX5ChY05paXJ2lDMLDaQY 4RDh/SUUjYC15w25lu31AZUxMwQKGwzKj0i2rG0sNhWYKN4J7VSHpGGaZjc/tKi5dtPrVTcVz0 EYys3DyojcoUitB/P4cmEr+Wt7MutocJMrrN3elyeEkv1w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=VMPkF2wQlXB4/4jx/IPW6dye0BHhUMQfblGjHzDH03Q=; b=R8gv2MzH9BOQQTsa/ZGFov1cKV gJgC/jezcRl47mZrrK550A0N6NuUXgvWKGOTfilRl5gpzZqG5BA1Z+p8eXc3gZCrEoxDDwAPWTWAh a2AifxNTUEUgXbWPolFN4p9O53dKaCjvmTQEccgwLtiyux/sNL/2DXyi0yzAgxhcVQpNM7033/ydp ysxK6W2O7Vnj+7mCb3GAcXXnZTqJATAJRdLaqUQqp77csNGfEKGU88zwuQdrR33cm+qRvbAq84ELx 0qVuoWdGjDIwRE7zeIs/1OAPNQ298QMv1ikOH1NdXe8jgx6KSmcztrla5O1qS4uRQbCJe0KTzQ0+N IGuNFd0A==; Received: by zero.zsh.org with local id 1qMMgn-000JNW-TC; Thu, 20 Jul 2023 05:59:02 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f50.google.com) smtp.remote-ip=209.85.208.50; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f50.google.com ([209.85.208.50]:53281) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qMMgW-000J5S-IH; Thu, 20 Jul 2023 05:58:45 +0000 Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-51e57870becso407765a12.2 for ; Wed, 19 Jul 2023 22:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20221208.gappssmtp.com; s=20221208; t=1689832724; x=1690437524; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=VMPkF2wQlXB4/4jx/IPW6dye0BHhUMQfblGjHzDH03Q=; b=M9ElAMK6SLewMTjmeSguDDpELYeb1pWxEidkUOfhUaj7nsPoeLsDrdc8M/C4qQP9n4 lub9nNkUIomFqASm0xQU9e31MRUKoggg/Z/1XI1tv/qNZVbxq7FlgxCmL4oPfi9/50L8 lMHXmG/smbIhOqU5XuaJxg03Rke8L/nBNFpy8E5w9+xBTWHOc+MaurTksN4s1kO3tOv2 /GwdoZf0LOaet8NyYsEh5epOeDzGDlM8IbJoDnyH/ESbrJdFM4oxvVmi2UvvdD2c3z8s fvAwNAX97UuyiLrp1VyW4DHcHm8uy2IHwj2/96G/zuH5ifidF0x1aoztMcgeNQAoqyxp jzIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689832724; x=1690437524; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VMPkF2wQlXB4/4jx/IPW6dye0BHhUMQfblGjHzDH03Q=; b=WQgJ/V1upNcV4vmBmtz46H29ag2bj+M8qEjFwmbj5kPqG73TZWbfI955qrma8o8aWW xQi4ieM8a5piI2mRUZaUHfscIUnD/vJBCi78kzofGccT8sCpivXq1coD+ACz9QKTUuvp XiHwOyt3BqIhnObOdu4lH9Q5mSww9Q50jCg9QX6Z/hFRHaKVDfaWFB1EcFeWiDTCl6/E YOD9mLZqWfSSkNmzMULilOuJR7DdF5/u8BltJ9zX7tViX2YYHnCSdzKrJs3gRa3SpXI6 OTJUlJAVAVbpKdlMlVwQGuftgQnbpjeMRaQ+lhgDP5IOyMCT1eVtuuXklaIO4R4XnSMA 4UKQ== X-Gm-Message-State: ABy/qLaq9JYfziUHnBUrcXKK7pRADeCNAbzY61Xfw6OH1DRHsQAF2pda mtHsdHZOmCaDxiSAzsoC22uUWKXnxDmMKNiMqjGzXy5LPKFxdhSw X-Google-Smtp-Source: APBJJlGRry0JxwuHQZPRvDQbIBjiDhYVo0mZyTXhS3v7CSmtq4cxKrrLm5zdZdg6YLX/c7fYAHPSF1aHTUcehsvqEOY= X-Received: by 2002:a17:906:2208:b0:993:fba5:cdef with SMTP id s8-20020a170906220800b00993fba5cdefmr1372874ejs.8.1689832723723; Wed, 19 Jul 2023 22:58:43 -0700 (PDT) MIME-Version: 1.0 From: Bart Schaefer Date: Wed, 19 Jul 2023 22:58:32 -0700 Message-ID: Subject: Minor "git" irritation To: Zsh hackers list Content-Type: multipart/alternative; boundary="0000000000003a50110600e4d7cc" X-Seq: 51975 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --0000000000003a50110600e4d7cc Content-Type: text/plain; charset="UTF-8" At some point in the past I tagged a revision in my local clone so that I could easily run diffs against that initial state. Now "git describe --tags" returns that tag name, which ends up in $ZSH_PATCHLEVEL, which is not correct. "git fetch --tags" does not change this. However, "git tag --delete $(git describe --tags)" says "tag not found". I don't know how it's possible for describe to return a tag that doesn't exist, or how it got that way, but here I am. How do I get rid of that tag? I've read the doc for "git fetch --prune --prune-tags" but that sounds as if it'll remove other local references that don't exist on the origin, which is not what I want. Google search is not helping. Thanks. --0000000000003a50110600e4d7cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
At some point in the past I tagged a revision in my l= ocal clone so that I could easily run diffs against that initial state.
=

Now "git describe --tags" returns that = tag name, which ends up in $ZSH_PATCHLEVEL, which is not correct. "git= fetch --tags" does not change this.

Howe= ver, "git tag --delete $(git describe --tags)" says "tag not= found".=C2=A0 I don't know how it's possible for describe to = return a tag that doesn't exist, or how it got that way, but here I am.=

How do I get rid of that tag?=C2=A0 I've = read the doc for "git fetch --prune --prune-tags" but that sounds= as if it'll remove other local references that don't exist on the = origin, which is not what I want.

Google search is= not helping.=C2=A0 Thanks.
--0000000000003a50110600e4d7cc--