diff options
author | Panagiotis Astithas <pastith@gmail.com> | 2015-06-11 17:37:25 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-12 15:33:39 -0700 |
commit | c54c7b376d73d2b3780475b18a6039721019aaba (patch) | |
tree | 0358d6f62b2b393561d3f8592c6d2b0273b247d0 /match-trees.c | |
parent | Git 2.2.2 (diff) | |
download | tgif-c54c7b376d73d2b3780475b18a6039721019aaba.tar.xz |
hooks/pre-auto-gc: adjust power checking for newer OS X
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 <pastith@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'match-trees.c')
0 files changed, 0 insertions, 0 deletions