threads / patch / 12944

patch, 4 partsRe: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook

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

## tl;dr

One message between Apr 1, 2008 and Apr 1, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· Apr 1, 2008, 05:02 UTC · lore
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".

← back to recent threads