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

Re: [PATCH] Introduce gc.autowarnonly config option

From
Jay Soffian <jaysoffian@gmail.com>
Date
Nov 7, 2011, 00:18 UTC
Message-ID
<CAG+J_DzNsAP1xAswkNxTAN6ze8ZV5pFqDMeQXKkjCoQgPUgEQQ@mail.gmail.com>
In-Reply-To
<20111105140529.3A6CE9004A@inscatolati.net>
On Sat, Nov 5, 2011 at 9:39 AM, Fernando Vezzosi <buccia@repnz.net> wrote:
Show 6 quoted lines
> When `git gc --auto` would detect need for garbage collection to run, it
> would just run.  With this patch, enabling gc.autowarnonly will instead
> make it just emit a warning.
>
> Reviewed-by: Sverre Rabbelier <srabbelier@gmail.com>
> Signed-off-by: Fernando Vezzosi <buccia@repnz.net>

This is much better than the solution I've been living with the last year, which was to put a pre-auto-gc in my templates directory of:

#!/bin/sh echo "time to run git gc" exit 1

So, thank you.
j.
Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 7 of 9 in “Introduce gc.autowarnonly config option”
  1. Introduce gc.autowarnonly config optionFernando Vezzosi, Nov 5, 2011
  2. 2/1 gc --auto: warn gc will soon run, give users a chance to run manuallyFernando Vezzosi, Nov 5, 2011
  3. Nguyen Thai Ngoc DuyNov 6, 2011
  4. 2/1 gc --auto: warn gc will soon run, give users a chance to run manuallyFernando Vezzosi, Nov 5, 2011
  5. Junio C HamanoNov 6, 2011
  6. Sverre RabbelierNov 5, 2011
  7. Jay SoffianNov 7, 2011
  8. Sverre RabbelierMar 9, 2012
  9. Junio C HamanoMar 9, 2012

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.