<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/hooks, branch maint</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=maint</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=maint'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2018-07-11T20:45:58+00:00</updated>
<entry>
<title>hooks/pre-auto-gc-battery: allow gc to run on non-laptops</title>
<updated>2018-07-11T20:45:58+00:00</updated>
<author>
<name>Adam Borowski</name>
<email>kilobyte@angband.pl</email>
</author>
<published>2018-02-28T22:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=b10f0e5b9a9ba6d8e9a27b3a81d2fc1d65d9810d'/>
<id>urn:sha1:b10f0e5b9a9ba6d8e9a27b3a81d2fc1d65d9810d</id>
<content type='text'>
Desktops and servers tend to have no power sensor, thus on_ac_power returns
255 ("unknown").  Thus, let's take any answer other than 1 ("battery") as
no contraindication to run gc.

If that tool returns "unknown", there's no point in querying other sources
as it already queried them, and is smarter than us (can handle multiple
adapters).

Reported by: Xin Li &lt;delphij@google.com&gt;
Signed-off-by: Adam Borowski &lt;kilobyte@angband.pl&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
(cherry picked from git.git commit 781262c5e7ad4a7813c528803117ed0d2e8c5172)
Signed-off-by: Fredrik Roubert &lt;roubert@google.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrn@google.com&gt;
Change-Id: I51fe2eb1eb879492a61e8e09c86ee34d049036c1
</content>
</entry>
<entry>
<title>Merge "Update commit-msg hook to version from Gerrit 2.14.6"</title>
<updated>2017-12-07T01:13:17+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>dpursehouse@collab.net</email>
</author>
<published>2017-12-07T01:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1dc36600efb0930f235e5a60d1df4600314e3035'/>
<id>urn:sha1:1dc36600efb0930f235e5a60d1df4600314e3035</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update commit-msg hook to version from Gerrit 2.14.6</title>
<updated>2017-12-06T18:42:46+00:00</updated>
<author>
<name>Dana Dahlstrom</name>
<email>dahlstrom@google.com</email>
</author>
<published>2017-12-06T18:39:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=cbe8aeb52b08a6509a22b58f9b395e705673b792'/>
<id>urn:sha1:cbe8aeb52b08a6509a22b58f9b395e705673b792</id>
<content type='text'>
Change-Id: I14403fea4d017b97be5131e695803f121d404af2
</content>
</entry>
<entry>
<title>pre-auto-gc: Add support for Windows</title>
<updated>2017-05-03T11:26:21+00:00</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2017-03-01T09:56:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=c9439facdde146e3a8ed6511499379e8b959c467'/>
<id>urn:sha1:c9439facdde146e3a8ed6511499379e8b959c467</id>
<content type='text'>
Previously, this would always have exited with 1 on Windows, causing "git
gc --auto" to abort. Fix this by adding support for Windows.

Change-Id: Ie519b366a11b6b18b2d465e892e738de3f4bbc99
</content>
</entry>
<entry>
<title>Update commit-msg hook to version from Gerrit 2.12.1</title>
<updated>2016-03-14T01:08:33+00:00</updated>
<author>
<name>Mike Bjorge</name>
<email>mbjorge@google.com</email>
</author>
<published>2016-02-29T19:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=9322964d141d470df70ba6fb2310653ead25c652'/>
<id>urn:sha1:9322964d141d470df70ba6fb2310653ead25c652</id>
<content type='text'>
Change-Id: I31b74aba998f8e83f370a759218777f2557a8872
</content>
</entry>
<entry>
<title>Update the commit-msg hook to the version from Gerrit 2.8.2</title>
<updated>2014-07-15T18:30:06+00:00</updated>
<author>
<name>Dave Borowitz</name>
<email>dborowitz@google.com</email>
</author>
<published>2014-07-15T18:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=a8d539189e1c788663f022cbebd3b5ff28aaeb4b'/>
<id>urn:sha1:a8d539189e1c788663f022cbebd3b5ff28aaeb4b</id>
<content type='text'>
Change-Id: Id911bc6841f488a42d08580de800c3afafa2937e
</content>
</entry>
<entry>
<title>hooks/pre-auto-gc: fix AC detection on OSX Maverick</title>
<updated>2013-12-17T02:48:20+00:00</updated>
<author>
<name>Pawit Pornkitprasan</name>
<email>p.pawit@gmail.com</email>
</author>
<published>2013-12-17T02:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=719757d6a8670660c3c7d2490457ff7064241422'/>
<id>urn:sha1:719757d6a8670660c3c7d2490457ff7064241422</id>
<content type='text'>
The output of pmset has been changed to "Now drawing from 'AC Power'"

Change-Id: Id425d3bcd6a28656736a6d2c3096623a3ec053cc
</content>
</entry>
<entry>
<title>Update the commit-msg hook to the version from Gerrit 2.6</title>
<updated>2013-11-29T10:17:23+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2013-11-29T10:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=61df418c599a0359b33b8a65a12660023fc37a2a'/>
<id>urn:sha1:61df418c599a0359b33b8a65a12660023fc37a2a</id>
<content type='text'>
Change-Id: Iaf21ba8d2ceea58973dbc56f0b4ece54500cd997
</content>
</entry>
<entry>
<title>Update the commit-msg hook to the version from Gerrit 2.5.2</title>
<updated>2013-02-13T00:56:09+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2013-02-13T00:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=55693aabe5d19e5be73a3bab683960aaf6aff7c8'/>
<id>urn:sha1:55693aabe5d19e5be73a3bab683960aaf6aff7c8</id>
<content type='text'>
Change-Id: I00760fe55a0e1b61375a378c05f263e7bc857ca0
</content>
</entry>
<entry>
<title>Update commit-msg hook to version from Gerrit v2.5-rc0</title>
<updated>2012-10-04T08:31:09+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2012-10-03T08:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=7119f94abaa48b3b7fb990f2a12ec5458ef3f133'/>
<id>urn:sha1:7119f94abaa48b3b7fb990f2a12ec5458ef3f133</id>
<content type='text'>
Change-Id: I0d11ac0c24cd53386e996b7dd9bd37c89c789f60
</content>
</entry>
</feed>
