git/Documentation
Ævar Arnfjörð Bjarmason daecbf2261 gc docs: clarify that "gc" doesn't throw away referenced objects
Amend the "NOTES" section to fix up wording that's been with us since
3ffb58be0a ("doc/git-gc: add a note about what is collected",
2008-04-23).

I can't remember when/where anymore (I think Freenode #Git), but at
some point I was having a conversation with someone who was convinced
that "gc" would prune things only referenced by e.g. refs/pull/*, and
pointed to this section as proof.

It turned out that they'd read the "branches and tags" wording here
and thought just refs/{heads,tags}/* and refs/remotes/* etc. would be
kept, which is what we enumerate explicitly.

So let's say "other refs", even though just above we say "objects that
are referenced anywhere in your repository".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-04-08 17:01:09 +09:00
..
2019-03-20 15:19:48 +09:00
2019-03-07 09:59:56 +09:00
2019-02-06 22:05:30 -08:00
2009-04-06 00:27:09 -07:00
2019-01-23 11:37:29 -08:00
2018-06-25 13:22:36 -07:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2019-03-20 15:16:06 +09:00
2018-10-03 21:25:57 -07:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2016-08-11 14:35:42 -07:00
2018-09-17 13:53:55 -07:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2019-01-23 11:37:29 -08:00
2018-12-26 14:59:37 -08:00
2018-04-18 12:49:26 +09:00