Re: [PATCH] Add a message explaining that automatic GC is about to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Oct 2007, Brian Gernhardt wrote:

> 
> On Oct 18, 2007, at 12:41 AM, koreth@xxxxxxxxxxxxx wrote:
> 
> > And as an added bonus, we can tell people how to turn off automatic GC
> > and how to invoke it by hand.
> 
> > +		fprintf(stderr, "Packing your repository for optimum "
> > +			"performance. If you would rather run\n"
> > +			"\"git gc\" by hand, run \"git config gc.auto 0\" "
> > +			"to disable automatic cleanup.\n");
> 
> I'm not sure telling the users how to disable it every time it shows up is a
> good idea.  gc --auto exists for the naive user, and suggesting they turn it
> off each time it happens will just result in...  people turning it off,
> leading back to the performance issues that caused the feature to be installed
> in the first place.  Perhaps a message more along the lines of "To avoid this,
> run "git gc" manually on a regular basis.  See 'git help gc' for more
> information."

This is indeed a good point.

And for those who start repacking manually then the automatic repacking 
will very rarely trigger, reducing the need for turning automatic 
repacking off anyway.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux