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

Re: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 1, 2008, 05:02 UTC
Message-ID
<7v8wzyjhg2.fsf@gitster.siamese.dyndns.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
> +The default 'pre-auto-gc' hook, when enabled, defers auto repacking when
> +you are on battery.

I'd prefer not to have the Linux specific one in templates/hooks--*; it would be a good addition to contrib/hooks/ though, if you use on_ac_power as suggested.

In any case, we ship all hooks in templates _disabled_, and they should be called "example hook", not "default hook".

Message 1 of 1 in “Re: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook”
  1. Junio C HamanoApr 1, 2008

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.