<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-compat-util.h, branch v2.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-03-20T20:11:49Z</updated>
<entry>
<title>Merge branch 'km/bsd-sysctl'</title>
<updated>2015-03-20T20:11:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-20T20:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=551fc7aec1a7efe868a59fbeea14582b41923f4d'/>
<id>urn:sha1:551fc7aec1a7efe868a59fbeea14582b41923f4d</id>
<content type='text'>
We now detect number of CPUs on older BSD-derived systems.

* km/bsd-sysctl:
  thread-utils.c: detect CPU count on older BSD-like systems
  configure: support HAVE_BSD_SYSCTL option
</content>
</entry>
<entry>
<title>Merge branch 'km/bsd-shells'</title>
<updated>2015-03-20T20:11:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-20T20:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ec0465ade87996214959a393239eec520daf92ea'/>
<id>urn:sha1:ec0465ade87996214959a393239eec520daf92ea</id>
<content type='text'>
Portability fixes and workarounds for shell scripts have been added
to help BSD-derived systems.

* km/bsd-shells:
  t5528: do not fail with FreeBSD shell
  help.c: use SHELL_PATH instead of hard-coded "/bin/sh"
  git-compat-util.h: move SHELL_PATH default into header
  git-instaweb: use @SHELL_PATH@ instead of /bin/sh
  git-instaweb: allow running in a working tree subdirectory
</content>
</entry>
<entry>
<title>configure: support HAVE_BSD_SYSCTL option</title>
<updated>2015-03-10T22:13:25Z</updated>
<author>
<name>Kyle J. McKay</name>
<email>mackyle@gmail.com</email>
</author>
<published>2015-03-08T07:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9529080de253b89474402f323e10470656764b3a'/>
<id>urn:sha1:9529080de253b89474402f323e10470656764b3a</id>
<content type='text'>
On BSD-compatible systems some information such as the number
of available CPUs may only be available via the sysctl function.

Add support for a HAVE_BSD_SYSCTL option complete with autoconf
support and include the sys/syctl.h header when the option is
enabled to make the sysctl function available.

Signed-off-by: Kyle J. McKay &lt;mackyle@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-compat-util.h: move SHELL_PATH default into header</title>
<updated>2015-03-10T22:11:24Z</updated>
<author>
<name>Kyle J. McKay</name>
<email>mackyle@gmail.com</email>
</author>
<published>2015-03-08T05:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b56cdf901f6e6a73d0edadf56afb1c878c7622a'/>
<id>urn:sha1:1b56cdf901f6e6a73d0edadf56afb1c878c7622a</id>
<content type='text'>
If SHELL_PATH is not defined we use "/bin/sh".  However,
run-command.c is not the only file that needs to use
the default value so move it into a common header.

Signed-off-by: Kyle J. McKay &lt;mackyle@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bw/kwset-use-unsigned'</title>
<updated>2015-03-06T23:02:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-06T23:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=52d5bf77875275bbfc1bf1d7b690f355d5c869e4'/>
<id>urn:sha1:52d5bf77875275bbfc1bf1d7b690f355d5c869e4</id>
<content type='text'>
The borrowed code in kwset API did not follow our usual convention
to use "unsigned char" to store values that range from 0-255.

* bw/kwset-use-unsigned:
  kwset: use unsigned char to store values with high-bit set
</content>
</entry>
<entry>
<title>Merge branch 'rj/no-xopen-source-for-cygwin' into maint</title>
<updated>2015-03-06T22:57:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-06T22:57:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f69f5f19cfae949b2bbd6c6ffbb990b6a00d04b0'/>
<id>urn:sha1:f69f5f19cfae949b2bbd6c6ffbb990b6a00d04b0</id>
<content type='text'>
Code cleanups.

* rj/no-xopen-source-for-cygwin:
  git-compat-util.h: remove redundant code
</content>
</entry>
<entry>
<title>Merge branch 'es/squelch-openssl-warnings-on-macosx' into maint</title>
<updated>2015-03-05T21:13:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-05T21:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e591339ce7632f3c9000f0fde8ee4813f061a11e'/>
<id>urn:sha1:e591339ce7632f3c9000f0fde8ee4813f061a11e</id>
<content type='text'>
An earlier workaround to squelch unhelpful deprecation warnings
from the complier on Mac OSX unnecessarily set minimum required
version of the OS, which the user might want to raise (or lower)
for other reasons.

* es/squelch-openssl-warnings-on-macosx:
  git-compat-util: do not step on MAC_OS_X_VERSION_MIN_REQUIRED
</content>
</entry>
<entry>
<title>Merge branch 'rj/no-xopen-source-for-cygwin'</title>
<updated>2015-03-05T20:45:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-05T20:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ca704731b1fdf77b8f6d296bcde206c67ed9d73a'/>
<id>urn:sha1:ca704731b1fdf77b8f6d296bcde206c67ed9d73a</id>
<content type='text'>
Code cleanups.

* rj/no-xopen-source-for-cygwin:
  git-compat-util.h: remove redundant code
</content>
</entry>
<entry>
<title>kwset: use unsigned char to store values with high-bit set</title>
<updated>2015-03-02T20:32:24Z</updated>
<author>
<name>Ben Walton</name>
<email>bdwalton@gmail.com</email>
</author>
<published>2015-03-02T19:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=189c860c9ec5deb95845c056ca5c15b58970158e'/>
<id>urn:sha1:189c860c9ec5deb95845c056ca5c15b58970158e</id>
<content type='text'>
Sun Studio on Solaris issues warnings about improper initialization
values being used when defining tolower_trans_tbl[] in ctype.c.  The
array wants to store values with high-bit set and treat them as
values between 128 to 255.  Unlike the rest of the Git codebase
where we explicitly specify 'unsigned char' for such variables and
arrays, however, kwset code we borrowed from elsewhere uses 'char'
for this and other variables.

Fix the declarations to explicitly use 'unsigned char' where
necessary to bring it in line with the rest of the Git.

Signed-off-by: Ben Walton &lt;bdwalton@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/blame-commit-label' into maint</title>
<updated>2015-02-25T06:09:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-25T06:09:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=faf723a631aff822b4808c496c0970edb0ca2a99'/>
<id>urn:sha1:faf723a631aff822b4808c496c0970edb0ca2a99</id>
<content type='text'>
"git blame HEAD -- missing" failed to correctly say "HEAD" when it
tried to say "No such path 'missing' in HEAD".

* jk/blame-commit-label:
  blame.c: fix garbled error message
  use xstrdup_or_null to replace ternary conditionals
  builtin/commit.c: use xstrdup_or_null instead of envdup
  builtin/apply.c: use xstrdup_or_null instead of null_strdup
  git-compat-util: add xstrdup_or_null helper
</content>
</entry>
</feed>
