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

Re: [PATCH v2] docs: clarify that refs/notes/ do not keep the attached objects alive

From
Martin von Zweigbergk <martinvonz@google.com>
Date
Feb 11, 2021, 07:36 UTC
Message-ID
<CAESOdVB7i9UJpsB91sedGKPiCxkc0XgC+T5SLP4qF==kaqhJtg@mail.gmail.com>
In-Reply-To
<xmqq7dnfys5l.fsf@gitster.c.googlers.com>
On Wed, Feb 10, 2021 at 9:34 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 21 quoted lines
>
> Martin von Zweigbergk <martinvonz@google.com> writes:
>
> > `git help gc` contains this snippet:
> >
> >   "[...] it will keep [..] objects referenced by the index,
> >   remote-tracking branches, notes saved by git notes under refs/notes/"
> >
> > I had interpreted that as saying that the objects that notes were
> > attached to are kept, but that is not the case. Let's clarify the
> > documentation by moving out the part about git notes to a separate
> > sentence.
> >
> > Signed-off-by: Martin von Zweigbergk <martinvonz@google.com>
> > ---
>
> This looks the same as the one in
> <e7fde2369495f32c7aa88c7b6b74ebee1a1bed24.1613000292.git.martinvonz@google.com>
>
> which was v1, except that this one has your sign-off.  Sent a wrong
> version?

Yes, sorry. I forgot the `-a` to `git commit --amend` (have been using Mercurial for the last 5 years now). I'll send a v3.

Previous: Junio C HamanoNext: Martin von Zweigbergk
Message 8 of 10 in “docs: clarify that refs/notes/ do not keep the attached objects alive”
  1. docs: clarify that refs/notes/ do not keep the attached objects aliveMartin von Zweigbergk, Feb 11, 2021
  2. Junio C HamanoFeb 11, 2021
  3. Martin von ZweigbergkFeb 11, 2021
  4. Junio C HamanoFeb 11, 2021
  5. Martin von ZweigbergkFeb 11, 2021
  6. docs: clarify that refs/notes/ do not keep the attached objects aliveMartin von Zweigbergk, Feb 11, 2021
  7. Junio C HamanoFeb 11, 2021
  8. Martin von ZweigbergkFeb 11, 2021
  9. docs: clarify that refs/notes/ do not keep the attached objects aliveMartin von Zweigbergk, Feb 11, 2021
  10. Junio C HamanoFeb 11, 2021

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.