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

Re: [PATCH] doc: clarify that notes can be attached to any type of stored object

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 4, 2016, 16:39 UTC
Message-ID
<xmqqy48t5nvo.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAHGBnuP71qpOoNAAwXE-nbPbVyK56Up0YpmhhjC5430VwW73kQ@mail.gmail.com>
Sebastian Schuberth <sschuberth@gmail.com> writes:
> Done, I'll send a patch shortly. But I wanted to list the supported
> object types explicitly, in particular as many guide in the net are
> unclear that only annotated tags are object, and lightweight ones are
> not.

I'd really hate to see an explicit list of what object types there are, as it is one more place we'd need to update if we ever add new object types (and we are unlikely to do so anytime soon, which makes it even more likely that we would forget there is this explicit list we'd need to update).

-     Adds, removes, or reads notes attached to objects, without touching
-     the objects themselves.
+     Adds, removes, or reads notes attached to any object (not limited
+     to commit objects), without touching the objects themselves.
should be sufficient, no?
Previous: Sebastian SchuberthNext: Sebastian Schuberth
Message 6 of 8 in “doc: clarify that notes can be attached to any type of stored object”
  1. doc: clarify that notes can be attached to any type of stored objectSebastian Schuberth, Apr 1, 2016
  2. Junio C HamanoApr 1, 2016
  3. Junio C HamanoApr 1, 2016
  4. Sebastian SchuberthApr 4, 2016
  5. doc: Clarify which objects notes can be attached toSebastian Schuberth, Apr 4, 2016
  6. Junio C HamanoApr 4, 2016
  7. Sebastian SchuberthApr 4, 2016
  8. Junio C HamanoApr 4, 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.