<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v2.2.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.2.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.2.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-12-22T20:17:13Z</updated>
<entry>
<title>Merge branch 'js/windows-open-eisdir-error' into maint</title>
<updated>2014-12-22T20:17:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-22T20:17:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8390d5cda9a4da982837bac1822d9ab3cf3f7ad9'/>
<id>urn:sha1:8390d5cda9a4da982837bac1822d9ab3cf3f7ad9</id>
<content type='text'>
open() emulated on Windows platforms did not give EISDIR upon an
attempt to open a directory for writing.

* js/windows-open-eisdir-error:
  Windows: correct detection of EISDIR in mingw_open()
</content>
</entry>
<entry>
<title>Windows: correct detection of EISDIR in mingw_open()</title>
<updated>2014-11-17T16:45:50Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2014-11-16T21:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba6fad02b6cbbfbf5acf3303b4d8ddfd8624fdb2'/>
<id>urn:sha1:ba6fad02b6cbbfbf5acf3303b4d8ddfd8624fdb2</id>
<content type='text'>
According to the Linux open(2) man page, open() must return EISDIR
if a directory was attempted to be opened for writing. Our emulation
in mingw_open() does not get this right: it checks only for O_CREAT.

Fix it to check for a write request.

This fixes a failure in reflog handling, which opens files with
O_APPEND|O_WRONLY, but without O_CREAT, and expects EISDIR when the
named file happens to be a directory.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dm/port2zos'</title>
<updated>2014-10-29T17:08:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-29T17:08:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce71c1f3398a956b0152f8ebf11b7a9d50a3095e'/>
<id>urn:sha1:ce71c1f3398a956b0152f8ebf11b7a9d50a3095e</id>
<content type='text'>
z/OS port

* dm/port2zos:
  compat/bswap.h: detect endianness from XL C compiler macros
  Makefile: reorder linker flags in the git executable rule
  git-compat-util.h: support variadic macros with the XL C compiler
</content>
</entry>
<entry>
<title>compat/bswap.h: detect endianness from XL C compiler macros</title>
<updated>2014-10-27T18:51:12Z</updated>
<author>
<name>David Michael</name>
<email>fedora.dm0@gmail.com</email>
</author>
<published>2014-10-26T17:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfb0e6fcd2826a869383b766712131a07a8059b0'/>
<id>urn:sha1:bfb0e6fcd2826a869383b766712131a07a8059b0</id>
<content type='text'>
There is no /usr/include/endian.h equivalent on z/OS, but the
compiler will define macros to indicate endianness on host and
target hardware.  This adds a test for these macros as a last
resort for determining byte order.

Signed-off-by: David Michael &lt;fedora.dm0@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mingw.h: add dummy functions for sigset_t operations</title>
<updated>2014-09-22T20:41:52Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2014-09-22T18:24:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e6d207c45e6f5c13b38c4a200f0d3339f88ad34'/>
<id>urn:sha1:4e6d207c45e6f5c13b38c4a200f0d3339f88ad34</id>
<content type='text'>
Windows does not have POSIX-like signals, and so we ignore all
operations on the non-existent signal mask machinery.

Do not turn sigemptyset into a function, but leave it a macro that
erases the code in the argument because it is used to set sa_mask
of a struct sigaction, but our dummy in mingw.h does not have that
member.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sk/mingw-uni-fix-more'</title>
<updated>2014-07-30T21:21:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-30T21:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=385e171a5b56dabbe33dbef6f88e8f934a6cacda'/>
<id>urn:sha1:385e171a5b56dabbe33dbef6f88e8f934a6cacda</id>
<content type='text'>
Most of these are battle-tested in msysgit and are needed to
complete what has been merged to 'master' already.

* sk/mingw-uni-fix-more:
  Win32: enable color output in Windows cmd.exe
  Win32: patch Windows environment on startup
  Win32: keep the environment sorted
  Win32: use low-level memory allocation during initialization
  Win32: reduce environment array reallocations
  Win32: don't copy the environment twice when spawning child processes
  Win32: factor out environment block creation
  Win32: unify environment function names
  Win32: unify environment case-sensitivity
  Win32: fix environment memory leaks
  Win32: Unicode environment (incoming)
  Win32: Unicode environment (outgoing)
  Revert "Windows: teach getenv to do a case-sensitive search"
  tests: do not pass iso8859-1 encoded parameter
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2014-07-21T19:35:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-21T19:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ab08822556c49a7856dadd0e9a42f9ec2aaf850'/>
<id>urn:sha1:9ab08822556c49a7856dadd0e9a42f9ec2aaf850</id>
<content type='text'>
* maint:
  use xmemdupz() to allocate copies of strings given by start and length
  use xcalloc() to allocate zero-initialized memory
</content>
</entry>
<entry>
<title>Merge branch 'sk/mingw-uni-fix'</title>
<updated>2014-07-21T18:18:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-21T18:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80e85754e08da9999f7b7ab956465150aebcf44d'/>
<id>urn:sha1:80e85754e08da9999f7b7ab956465150aebcf44d</id>
<content type='text'>
* sk/mingw-uni-fix:
  Win32: Unicode file name support (dirent)
  Win32: Unicode file name support (except dirent)
</content>
</entry>
<entry>
<title>use xcalloc() to allocate zero-initialized memory</title>
<updated>2014-07-21T17:30:21Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2014-07-19T13:56:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=51a60f5bfbaf1ee7c7a2d2b73eca4f042f7af8cb'/>
<id>urn:sha1:51a60f5bfbaf1ee7c7a2d2b73eca4f042f7af8cb</id>
<content type='text'>
Use xcalloc() instead of xmalloc() followed by memset() to allocate
and zero out memory because it's shorter and avoids duplicating the
function parameters.

Signed-off-by: Rene Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Win32: enable color output in Windows cmd.exe</title>
<updated>2014-07-21T16:32:50Z</updated>
<author>
<name>Karsten Blees</name>
<email>blees@dcon.de</email>
</author>
<published>2014-07-17T15:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=baea068d677fae92d7903e984cf93bbd5195a000'/>
<id>urn:sha1:baea068d677fae92d7903e984cf93bbd5195a000</id>
<content type='text'>
Git requires the TERM environment variable to be set for all color*
settings. Simulate the TERM variable if it is not set (default on Windows).

Signed-off-by: Karsten Blees &lt;blees@dcon.de&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Stepan Kasal &lt;kasal@ucw.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
