git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suppress reporting implicit git gc calls, when they don’t do anything
@ 2018-12-21 10:27 Дилян Палаузов
  0 siblings, 0 replies; only message in thread
From: Дилян Палаузов @ 2018-12-21 10:27 UTC (permalink / raw)
  To: git

Hello,

With git 19.2.2 after `git pull` the output was
1. Autopacking the repository in background for optimal performance. 
See "git help gc" for manual housekeeping

2. error: Your local changes to the following files would be
overwritten by merge:
  …
Please commit your changes or stash them before you merge.
Aborting

This implies, that `git gc` runs in the background.

Then I called `git rebase --autostash` on which the output contained
again:

“Autopacking the repository in background for optimal performance.  See
"git help gc" for manual housekeeping.”

The second message means, that `git gc` is again started in the
background, before the first GC has finished.  Clearly non-sense.

In practice, the second GC does not run, or exits very fast.

* Alter `git rebase --autostash` not to write, that git gc is called,
when that GC doesn’t do anything.

Regards
  Дилян


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-21 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-21 10:27 Suppress reporting implicit git gc calls, when they don’t do anything Дилян Палаузов

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).