From: Junio C Hamano Date: Fri, 22 Mar 2019 06:01:49 GMT Subject: Re: [PATCH v2 01/10] gc docs: modernize the advice for manually running "gc" Message-ID: In-Reply-To: <20190321205054.17109-2-avarab@gmail.com> Ævar Arnfjörð Bjarmason writes: > +When common porcelain operations that creates objects are run, they "operations that create objects are run"? > +will check whether the repository has grown substantially since the > +last maintenance, and if so run `git gc` automatically. See `gc.auto` > +below for how to disable this behavior. > + > +Running `git gc` manually should only be needed when adding objects to > +a repository without regularly running such porcelain commands, to do > +a one-off repository optimization, or e.g. to clean up a suboptimal > +mass-import. See the "PACKFILE OPTIMIZATION" section in > +linkgit:git-fast-import[1] for more details on the import case. > > OPTIONS > -------