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.