git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] for-each-ref: add %(upstream:gone) to mark missing refs

From
Øystein Walle <oystwa@gmail.com>
Date
Aug 24, 2016, 18:26 UTC
Message-ID
<CAFaJEqvm9Xj34t+F=KMtwRDEYhwHZ7=MRwsZ22-Gt_UPd4r72A@mail.gmail.com>
In-Reply-To
<20160824180730.mqlvhkthg4imd2vy@sigill.intra.peff.net>
Hi, Peff
On 24 August 2016 at 20:07, Jeff King <peff@peff.net> wrote
>
> Whoops, your v2 spurred me to review, but I accidentally read and
> responded to v1.
>
Thanks for the review! I was worried this patch had been buried :-)

In the mean time, however, I have discovered that this conflicts with kn/ref-filter-branch-list in pu. In that topic this specific feature is implemented as well. They incorporate it into %(upstream:track) instead of having a separate "sub-atom" (what's the correct nomenclature, by the way?) more in line with with branch -vv and your idea.

I recall seeing discussions about this work earlier, but I based my patch on master and forgot to check pu. (It was a spur-of-the-moment thing fueled by a question in #git about how to parse branch -vv to delete all local branch who had their remote counter-parts removed after a fetch --prune.)

Unless that topic gets rejected, or is known to not be merged for a _long_ while, my patch doesn't add much value.

Regards, Øsse

Previous: Jeff KingNext: Jeff King
Message 3 of 7 in “for-each-ref: add %(upstream:gone) to mark missing refs”
  1. for-each-ref: add %(upstream:gone) to mark missing refsØystein Walle, Aug 22, 2016
  2. Jeff KingAug 24, 2016
  3. Øystein WalleAug 24, 2016
  4. Jeff KingAug 24, 2016
  5. Karthik NayakAug 25, 2016
  6. Øystein WalleAug 25, 2016
  7. Karthik NayakAug 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.