Re: [PATCH] Fix power checking on OS X

2015-06-16 Thread Junio C Hamano
Ah, thanks. Not many people do that, so I was wondering what was going on ;-). On Tue, Jun 16, 2015 at 10:35 AM, Panagiotis Astithas wrote: > On Tue, Jun 16, 2015 at 8:32 PM, Junio C Hamano wrote: >> Panagiotis Astithas writes: >> >>> The output of "pmset -g batt" changed at some point from >>

Re: [PATCH] Fix power checking on OS X

2015-06-16 Thread Panagiotis Astithas
On Tue, Jun 16, 2015 at 8:32 PM, Junio C Hamano wrote: > Panagiotis Astithas writes: > >> The output of "pmset -g batt" changed at some point from >> "Currently drawing from 'AC Power'" to the slightly different >> "Now drawing from 'AC Power'". Starting the match from "drawing" >> makes the chec

Re: [PATCH] Fix power checking on OS X

2015-06-16 Thread Junio C Hamano
Panagiotis Astithas writes: > The output of "pmset -g batt" changed at some point from > "Currently drawing from 'AC Power'" to the slightly different > "Now drawing from 'AC Power'". Starting the match from "drawing" > makes the check work in both old and new versions of OS X. > > Signed-off-by:

[PATCH] Fix power checking on OS X

2015-06-16 Thread Panagiotis Astithas
The output of "pmset -g batt" changed at some point from "Currently drawing from 'AC Power'" to the slightly different "Now drawing from 'AC Power'". Starting the match from "drawing" makes the check work in both old and new versions of OS X. Signed-off-by: Panagiotis Astithas --- contrib/hooks/

Re: [PATCH] Fix power checking on OS X

2015-06-12 Thread Eric Sunshine
On Fri, Jun 12, 2015 at 4:53 AM, Panagiotis Astithas wrote: > On Fri, Jun 12, 2015 at 6:46 AM, Eric Sunshine > wrote: >> On Thu, Jun 11, 2015 at 10:37 AM, Panagiotis Astithas >> wrote: >>> The output of "pmset -g batt" changed at some point from >>> "Currently drawing from 'AC Power'" to the s

Re: [PATCH] Fix power checking on OS X

2015-06-12 Thread Junio C Hamano
Panagiotis Astithas writes: > On Fri, Jun 12, 2015 at 6:46 AM, Eric Sunshine > wrote: >> On Thu, Jun 11, 2015 at 10:37 AM, Panagiotis Astithas >> wrote: >>> The output of "pmset -g batt" changed at some point from >>> "Currently drawing from 'AC Power'" to the slightly different >>> "Now draw

Re: [PATCH] Fix power checking on OS X

2015-06-12 Thread Panagiotis Astithas
On Fri, Jun 12, 2015 at 6:46 AM, Eric Sunshine wrote: > On Thu, Jun 11, 2015 at 10:37 AM, Panagiotis Astithas > wrote: >> The output of "pmset -g batt" changed at some point from >> "Currently drawing from 'AC Power'" to the slightly different >> "Now drawing from 'AC Power'". Starting the match

Re: [PATCH] Fix power checking on OS X

2015-06-11 Thread Eric Sunshine
On Thu, Jun 11, 2015 at 10:37 AM, Panagiotis Astithas wrote: > The output of "pmset -g batt" changed at some point from > "Currently drawing from 'AC Power'" to the slightly different > "Now drawing from 'AC Power'". Starting the match from "drawing" > makes the check work in both old and new vers

[PATCH] Fix power checking on OS X

2015-06-11 Thread Panagiotis Astithas
The output of "pmset -g batt" changed at some point from "Currently drawing from 'AC Power'" to the slightly different "Now drawing from 'AC Power'". Starting the match from "drawing" makes the check work in both old and new versions of OS X. Signed-off-by: Panagiotis Astithas --- contrib/hooks/