Re: git svn clone/fetch hits issues with gc --auto
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Oct 10, 2018, 16:38 UTC
- Message-ID
- <CACPiFC+sPTSa6WRp8iy3e_qKVD46Z9VsXA-UnMhv-ygpZbUCaw@mail.gmail.com>
- In-Reply-To
- <xmqqzhvmkn4z.fsf@gitster-ct.c.googlers.com>
On Wed, Oct 10, 2018 at 8:21 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> We probably can keep the "let's not run for a day" safety while
> pretending that "git gc -auto" succeeded for callers like "git svn"
> so that these callers do not hae to do "eval { ... }" to hide our
> exit code, no?
>
> I think that is what Jonathan's patch (jn/gc-auto) does.+1
`--auto` means "DTRT, but remember you're running as part of a larger process; don't error out unless it's critical".
cheers,
m
-- martin.langhoff@gmail.com - ask interesting questions ~ http://linkedin.com/in/martinlanghoff - don't be distracted ~ http://github.com/martin-langhoff by shiny stuff