Re: Auto-gc in the background can take a long time to be put in the background

2019-03-26 Thread Johannes Schindelin
Hi Mike, On Tue, 26 Mar 2019, Mike Hommey wrote: > Recently, I've noticed that whenever the auto-gc message shows up about > being spawned in the background, it still takes a while for git to > return to the shell. > > I've finally looked at what it was stuck on, and it's > `git reflog expire --a

Re: Auto-gc in the background can take a long time to be put in the background

2019-03-26 Thread Jeff King
On Tue, Mar 26, 2019 at 07:50:28AM +0100, Ævar Arnfjörð Bjarmason wrote: > > Unfortunately making it faster is hard. To handle expiring unreachable > > items, it has to know what's reachable. Which implies walking the commit > > graph. I don't recall offhand whether setting unreachable-expiration

Re: Auto-gc in the background can take a long time to be put in the background

2019-03-25 Thread Ævar Arnfjörð Bjarmason
On Tue, Mar 26 2019, Jeff King wrote: > On Tue, Mar 26, 2019 at 08:22:23AM +0900, Mike Hommey wrote: > >> Recently, I've noticed that whenever the auto-gc message shows up about >> being spawned in the background, it still takes a while for git to >> return to the shell. >> >> I've finally looke

Re: Auto-gc in the background can take a long time to be put in the background

2019-03-25 Thread Jeff King
On Tue, Mar 26, 2019 at 08:22:23AM +0900, Mike Hommey wrote: > Recently, I've noticed that whenever the auto-gc message shows up about > being spawned in the background, it still takes a while for git to > return to the shell. > > I've finally looked at what it was stuck on, and it's > `git refl

Auto-gc in the background can take a long time to be put in the background

2019-03-25 Thread Mike Hommey
Hi, Recently, I've noticed that whenever the auto-gc message shows up about being spawned in the background, it still takes a while for git to return to the shell. I've finally looked at what it was stuck on, and it's `git reflog expire --all` taking more than 30s. I guess the question is whethe