git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Miklos Vajna <vmiklos@frugalware.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Bj?rn Steinbrink <B.Steinbrink@gmx.de>,
	git@vger.kernel.org
Subject: Re: [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook
Date: Mon, 31 Mar 2008 22:02:37 -0700	[thread overview]
Message-ID: <7v8wzyjhg2.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 0a4fb03744d2a8c3e38030a29098e25823aed6bc.1206929014.git.vmiklos @frugalware.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".

       reply	other threads:[~2008-04-01  5:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0a4fb03744d2a8c3e38030a29098e25823aed6bc.1206929014.git.vmiklos @frugalware.org>
2008-04-01  5:02 ` Junio C Hamano [this message]
2008-03-30 23:46 [PATCH] git gc --auto: defer on battery Linus Torvalds
2008-03-31  9:36 ` [PATCH 3/4] Documentation/hooks: add pre-auto-gc hook Miklos Vajna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v8wzyjhg2.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=B.Steinbrink@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=vmiklos@frugalware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).