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

Re: [PATCH 1/2] tag: factor out get_tagged_oid()

From
René Scharfe <l.s.r@web.de>
Date
Sep 6, 2019, 15:25 UTC
Message-ID
<c1ffd461-7283-eeaa-6f68-778c5a35e8eb@web.de>
In-Reply-To
<f44b7abc-cab1-0bd4-029a-1c84cf36ec7b@web.de>
Am 06.09.19 um 17:05 schrieb René Scharfe:
> A tag referencing an unknown object sounds strange to me.  I imagine we
> might get such a thing when the referenced object is lost (broken repo)
> or purpose-built from an attacker.  Could such a tag still be used for
> anything?  Are there other possible causes?

Forward compatibility perhaps, i.e. supporting tags (by ignoring them) that point to a new type of object introduced by a future version.

René
Previous: René ScharfeNext: Jeff King
Message 5 of 6 in “tag: factor out get_tagged_oid()”
  1. 1/2 tag: factor out get_tagged_oid()René Scharfe, Sep 5, 2019
  2. 2/2 use get_tagged_oid()René Scharfe, Sep 5, 2019
  3. Jeff KingSep 6, 2019
  4. René ScharfeSep 6, 2019
  5. René ScharfeSep 6, 2019
  6. Jeff KingSep 6, 2019

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.