<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v2.40.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.40.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.40.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2023-02-09T22:40:47Z</updated>
<entry>
<title>Merge branch 'sk/winansi-createthread-fix'</title>
<updated>2023-02-09T22:40:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-02-09T22:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a1d607877d5bb43da444a9a947eed3f366ed3e8'/>
<id>urn:sha1:8a1d607877d5bb43da444a9a947eed3f366ed3e8</id>
<content type='text'>
Fix use of CreateThread() API call made early in the windows
start-up code.

* sk/winansi-createthread-fix:
  compat/winansi: check for errors of CreateThread() correctly
</content>
</entry>
<entry>
<title>compat/winansi: check for errors of CreateThread() correctly</title>
<updated>2023-02-01T22:36:19Z</updated>
<author>
<name>Seija Kijin</name>
<email>doremylover123@gmail.com</email>
</author>
<published>2023-02-01T22:20:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=592bcab61b86dbbac6fd2366039b4837b306ed66'/>
<id>urn:sha1:592bcab61b86dbbac6fd2366039b4837b306ed66</id>
<content type='text'>
The return value for failed thread creation is NULL,
not INVALID_HANDLE_VALUE, unlike other Windows API functions.

Signed-off-by: Seija Kijin &lt;doremylover123@gmail.com&gt;
Acked-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/win32-close-handle-upon-pthread-join'</title>
<updated>2023-01-23T21:39:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-01-23T21:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6e0f966efe3d5950e5d9bdfe82425cc4c93bcc5c'/>
<id>urn:sha1:6e0f966efe3d5950e5d9bdfe82425cc4c93bcc5c</id>
<content type='text'>
Pthread emulation on Win32 leaked thread handle when a thread is
joined.

* sk/win32-close-handle-upon-pthread-join:
  win32: close handles of threads that have been joined
  win32: prepare pthread.c for change by formatting
</content>
</entry>
<entry>
<title>Merge branch 'rs/use-enhanced-bre-on-macos'</title>
<updated>2023-01-23T21:39:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-01-23T21:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5427bb4893e29a9502bbee5aed84c3b26e1a4e15'/>
<id>urn:sha1:5427bb4893e29a9502bbee5aed84c3b26e1a4e15</id>
<content type='text'>
Newer regex library macOS stopped enabling GNU-like enhanced BRE,
where '\(A\|B\)' works as alternation, unless explicitly asked with
the REG_ENHANCED flag.  "git grep" now can be compiled to do so, to
retain the old behaviour.

* rs/use-enhanced-bre-on-macos:
  use enhanced basic regular expressions on macOS
</content>
</entry>
<entry>
<title>Merge branch 'rs/dup-array'</title>
<updated>2023-01-22T01:21:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-01-22T01:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=60ce816cb637f8fac5e8e5b8a53dff8707b2c04c'/>
<id>urn:sha1:60ce816cb637f8fac5e8e5b8a53dff8707b2c04c</id>
<content type='text'>
Code cleaning.

* rs/dup-array:
  use DUP_ARRAY
  add DUP_ARRAY
  do full type check in BARF_UNLESS_COPYABLE
  factor out BARF_UNLESS_COPYABLE
  mingw: make argv2 in try_shell_exec() non-const
</content>
</entry>
<entry>
<title>use DUP_ARRAY</title>
<updated>2023-01-09T04:28:36Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2023-01-01T21:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6e578410960d9ceb35ec98ad4b6fc711f1a9c85c'/>
<id>urn:sha1:6e578410960d9ceb35ec98ad4b6fc711f1a9c85c</id>
<content type='text'>
Add a semantic patch for replace ALLOC_ARRAY+COPY_ARRAY with DUP_ARRAY
to reduce code duplication and apply its results.

Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mingw: make argv2 in try_shell_exec() non-const</title>
<updated>2023-01-09T04:28:21Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2023-01-08T10:10:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=09884f352eb36cf2579d819595e9b7e1656a28b6'/>
<id>urn:sha1:09884f352eb36cf2579d819595e9b7e1656a28b6</id>
<content type='text'>
Prepare for a stricter type check in COPY_ARRAY by removing the const
qualifier of argv2, like we already do to placate Visual Studio.  We
have to add it back using explicit casts when actually using the
variable, unfortunately, because GCC (rightly) refuses to add it
implicitly.  Similar casts are already used in mingw_execv().

Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>use enhanced basic regular expressions on macOS</title>
<updated>2023-01-08T01:06:34Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2023-01-08T00:42:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=54463d32ef6798c772c8bbf69b2c1897a854db9f'/>
<id>urn:sha1:54463d32ef6798c772c8bbf69b2c1897a854db9f</id>
<content type='text'>
When 1819ad327b (grep: fix multibyte regex handling under macOS,
2022-08-26) started to use the native regex library instead of Git's
own (compat/regex/), it lost support for alternation in basic
regular expressions.

Bring it back by enabling the flag REG_ENHANCED on macOS when
compiling basic regular expressions.

Reported-by: Marco Nenciarini &lt;marco.nenciarini@enterprisedb.com&gt;
Suggested-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dh/mingw-ownership-check-typofix'</title>
<updated>2023-01-05T06:07:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2023-01-05T06:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3eac69d2677431803ea696f73fe33d44fbb6c214'/>
<id>urn:sha1:3eac69d2677431803ea696f73fe33d44fbb6c214</id>
<content type='text'>
Error message typofix.

* dh/mingw-ownership-check-typofix:
  mingw: fix typo in an error message from ownership check
</content>
</entry>
<entry>
<title>win32: close handles of threads that have been joined</title>
<updated>2023-01-04T06:39:47Z</updated>
<author>
<name>Seija Kijin</name>
<email>doremylover123@gmail.com</email>
</author>
<published>2023-01-03T16:20:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=238a9dfe86d18214bc0b8be079feee01a2fdc407'/>
<id>urn:sha1:238a9dfe86d18214bc0b8be079feee01a2fdc407</id>
<content type='text'>
After the thread terminates, the handle to the
original thread should be closed.

This change makes win32_pthread_join POSIX compliant.

Signed-off-by: Seija Kijin &lt;doremylover123@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
