Re: [PATCH] Add commands that git-gc runs underneath
- From
Andreas Ericsson <ae@op5.se>
- Date
- Aug 30, 2007, 10:13 UTC
- Message-ID
- <46D6984D.9040802@op5.se>
- In-Reply-To
- <Pine.LNX.4.64.0708301107320.28586@racer.site>
Johannes Schindelin wrote:
Show 14 quoted lines
> Hi, > > On Thu, 30 Aug 2007, Jari Aalto wrote: > >> git-gc is a higher level utility to "do the right thing". However there >> are many other lower level utilities for the house keeping and it is not >> clear what git-gc actually does. Adding the actual lower level command >> and their parameters explain "what's going on".x > > Isn't the whole purpose of git-gc to make it _unnecessary_ to know which > lowlevel commands are run? > > NACK. >
I think of it as a handy way of doing all those tasks in the correct order without having to remember more than a single command.
I kinda like it, and it might be helpful if someone's got a large repo and one part of gc for some reason didn't complete so they want to start at whatever step it broke off on.
When gc was a shell-script, it was fairly easy to find out the command- sequence. Now it's a built-in and that deduction actually takes some time and brainpower, so...
Acked-by: Andreas Ericsson <ae@op5.se>
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231