[PATCH v2] hooks/pre-auto-gc-battery: allow gc to run on non-laptops

2018-02-28 Thread Adam Borowski
ces as it already queried them, and is smarter than us (can handle multiple adapters). Reported by: Xin Li <delp...@google.com> Signed-off-by: Adam Borowski <kilob...@angband.pl> --- v2: improved commit message contrib/hooks/pre-auto-gc-battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH] hooks/pre-auto-gc-battery: allow gc to run on non-laptops

2018-02-28 Thread Adam Borowski
On Wed, Feb 28, 2018 at 10:16:21AM -0800, Junio C Hamano wrote: > Adam Borowski <kilob...@angband.pl> writes: > > > Desktops and servers tend to have no power sensor, thus on_ac_power returns > > 255 ("unknown"). > > > > If that tool returns "u

[PATCH] hooks/pre-auto-gc-battery: allow gc to run on non-laptops

2018-02-27 Thread Adam Borowski
<delp...@google.com> Signed-off-by: Adam Borowski <kilob...@angband.pl> --- contrib/hooks/pre-auto-gc-battery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/hooks/pre-auto-gc-battery b/contrib/hooks/pre-auto-gc-battery index 6a2cdebdb..7ba78c4df 100755 --- a/c

[BUG] auto-repack exits prematurely, locking other processing out

2014-05-23 Thread Adam Borowski
Hi guys! It looks like the periodic auto-repack backgrounds itself when it shouldn't do so. This causes the command it has triggered as a part of to fail: == [~/linux](master)$ git pull --rebase remote: Counting objects:

Re: [BUG] auto-repack exits prematurely, locking other processing out

2014-05-23 Thread Adam Borowski
On Fri, May 23, 2014 at 02:40:41PM -0700, Junio C Hamano wrote: Adam Borowski kilob...@angband.pl writes: It looks like the periodic auto-repack backgrounds itself when it shouldn't do so. This causes the command it has triggered as a part of to fail: Duy, 9f673f94 (gc: config option