git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 13 in “Add commands that git-gc runs underneath”
  1. Add commands that git-gc runs underneathJari Aalto, Aug 30, 2007
  2. Johannes SchindelinAug 30, 2007
  3. Andreas EricssonAug 30, 2007
  4. Johannes SchindelinAug 30, 2007
  5. Andreas EricssonAug 30, 2007
  6. Tom ClarkeAug 30, 2007
  7. Theodore TsoAug 30, 2007
  8. Junio C HamanoAug 30, 2007
  9. Andreas EricssonAug 31, 2007
  10. David KastrupAug 31, 2007
  11. Junio C HamanoAug 31, 2007
  12. David KastrupAug 31, 2007
  13. David KastrupAug 30, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.