{"thread":{"id":"12944","subject":"Re: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook","startedAt":"2008-04-01T05:02:37Z","lastAt":"2008-04-01T05:02:37Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":4},"messages":[{"id":"73480","messageId":"7v8wzyjhg2.fsf@gitster.siamese.dyndns.org","threadId":"12944","inReplyTo":null,"subject":"Re: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-04-01T05:02:37Z","receivedAt":"2008-04-01T05:02:37Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> +The default 'pre-auto-gc' hook, when enabled, defers auto repacking when\n> +you are on battery.\n\nI'd prefer not to have the Linux specific one in templates/hooks--*; it\nwould be a good addition to contrib/hooks/ though, if you use on_ac_power\nas suggested.\n\nIn any case, we ship all hooks in templates _disabled_, and they should be\ncalled \"example hook\", not \"default hook\".\n"}]}