"W. Trevor King" <wking@xxxxxxxxxx> writes: > From: "W. Trevor King" <wking@xxxxxxxxxx> > > This should have happened back in 2007, when `git gc` learned about > auto: > > commit e9831e83e063844b90cf9e525d0003715dd8b395 > Author: Junio C Hamano <gitster@xxxxxxxxx> > Date: Mon Sep 17 00:39:52 2007 -0700 > > git-gc --auto: add documentation. > > Signed-off-by: W. Trevor King <wking@xxxxxxxxxx> > --- > I'd also be happy just dropping the whole git-gc section ;). > > Documentation/user-manual.txt | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) > > diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt > index 5077e7c..d14e3c7 100644 > --- a/Documentation/user-manual.txt > +++ b/Documentation/user-manual.txt > @@ -1562,17 +1562,13 @@ Ensuring good performance > ------------------------- > > On large repositories, Git depends on compression to keep the history > -information from taking up too much space on disk or in memory. > +information from taking up too much space on disk or in memory. Some > +git commands may automatically run linkgit:git-gc[1], so you don't > +have to worry about running it manually. However, compressing large > +repositories may take some time, so you might want to disable > +automatic comression and run it explicitly when you are not doing > +other work. I'd rather phrase it like "... may take long, so you would want to run it explicitly from time to time to avoid automatic gc kicking in when it is not convenient for you". > -This compression is not performed automatically. Therefore you > -should occasionally run linkgit:git-gc[1]: > - > -------------------------------------------------- > -$ git gc > -------------------------------------------------- > - > -to recompress the archive. This can be very time-consuming, so > -you may prefer to run `git gc` when you are not doing other work. Removal of this is a good change, though. -- 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