Re: Testing for commit reachability through plumbing commands
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Mar 6, 2014, 19:29 UTC
- Message-ID
- <CACPiFC+hajx+z_Yq8vC88Q2DsSyD6zg0uOcjMmo7Qhj2m7r4Fg@mail.gmail.com>
- In-Reply-To
- <877g879lwp.fsf@igel.home>
On Thu, Mar 6, 2014 at 2:17 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Does git fsck --unreachable --no-reflogs help?
Well, my script, called regularly, does:
- adds grafts - git repack -AFfd (which unpacks unreachable objects) - git prune --expire now
.... hmm, I guess could prune the grafts using git fsck --unreachable --no-reflogs before pruning the objects themselves.
we'll find out if it works :-)
m
-- martin.langhoff@gmail.com - ask interesting questions - don't get distracted with shiny stuff - working code first ~ http://docs.moodle.org/en/User:Martin_Langhoff