Thread (95 messages) flat view 95 messages, 33 authors, 2016-06-15

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

From: Brian Gernhardt <hidden>
Date: 2016-06-15 22:43:42

On Oct 18, 2007, at 12:41 AM, koreth@midwinter.com 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."

~~ Brian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help