Re: git auto-repack is broken...
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Dec 2, 2011, 16:27 UTC
- Message-ID
- <CACBZZX7Q5qb1r_Oh0QfMiWh9UAM1c6QWBn4abv-xHpFBaKuyKg@mail.gmail.com>
- In-Reply-To
- <CA+55aFznj49hx6Ce6NhJ1rRd2nvNyOERseyyrC6SNcW-z9dyfg@mail.gmail.com>
On Fri, Dec 2, 2011 at 17:22, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> Maybe we should make "git gc --auto" remove any unreachable objects?
Wouldn't that mean that any loose commit objects you have lying around would be removed by the automatic git gc?
One feature of git that I personally rely on is that I can liberally move heads around / make commits on detached heads and not have those commits gc'd unless I explicitly ask for it for a while.