git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] git gc --auto: defer on battery
@ 2008-03-30 23:46 Linus Torvalds
  2008-03-31  9:36 ` [PATCH 2/4] git-gc: add a --no-verify option to bypass the pre-auto-gc hook Miklos Vajna
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Torvalds @ 2008-03-30 23:46 UTC (permalink / raw)
  To: Bj?rn Steinbrink; +Cc: Miklos Vajna, Junio C Hamano, git



On Mon, 31 Mar 2008, Bj?rn Steinbrink wrote:
> 
> The /proc stuff is already deprecated IIRC, the new file to check on
> Linux is /sys/class/power_supply/AC/online.

I would *seriously* suggest making this soem kind of generic callback and 
not Linux-specific. 

How about making it more akin to a pre-auto-gc "hook" - run a script 
instead of hardcoding something like this!

		Linus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-01  5:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <e755e3fd6b48cd43c61ae6c0c610aaa7b5e166f0.1206929014.git.vmiklos @frugalware.org>
2008-04-01  5:02 ` [PATCH 2/4] git-gc: add a --no-verify option to bypass the pre-auto-gc hook Junio C Hamano
2008-03-30 23:46 [PATCH] git gc --auto: defer on battery Linus Torvalds
2008-03-31  9:36 ` [PATCH 2/4] git-gc: add a --no-verify option to bypass the pre-auto-gc hook Miklos Vajna

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).