<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/win32, branch jch</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=jch</id>
<link rel='self' href='https://git.shady.money/git/atom?h=jch'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2026-04-06T17:06:20Z</updated>
<entry>
<title>unify and bump _WIN32_WINNT definition to Windows 8.1</title>
<updated>2026-04-06T17:06:20Z</updated>
<author>
<name>Matthias Aßhauer</name>
<email>mha1993@live.de</email>
</author>
<published>2026-04-06T05:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=66dd13f3f72e8cad1327b6b134dec079936c4b07'/>
<id>urn:sha1:66dd13f3f72e8cad1327b6b134dec079936c4b07</id>
<content type='text'>
Git for Windows doesn't support anything prior to Windows 8.1 since 2.47.0
and Git followed along with commits like ce6ccba (mingw: drop Windows
7-specific work-around, 2025-08-04).

There is no need to pretend to the compiler that we still support Windows
Vista, just to lock us out of easy access to newer APIs. There is also no
need to have conflicting and unused definitions claiming we support some
versions of Windows XP or even Windows NT 4.0.

Bump all definitions of _WIN32_WINNT to a realistic value of Windows 8.1.
This will also simplify code for a followup commit that will improve cpu
core detection on multi-socket systems.

Signed-off-by: Matthias Aßhauer &lt;mha1993@live.de&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mc/tr2-process-ancestry-cleanup'</title>
<updated>2026-02-25T19:54:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-02-25T19:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=422cae66878b8152453fe89c179dddbe1413cf56'/>
<id>urn:sha1:422cae66878b8152453fe89c179dddbe1413cf56</id>
<content type='text'>
Add process ancestry data to trace2 on macOS to match what we
already do on Linux and Windows.  Also adjust the way Windows
implementation reports this information to match the other two.

* mc/tr2-process-ancestry-cleanup:
  t0213: add trace2 cmd_ancestry tests
  test-tool: extend trace2 helper with 400ancestry
  trace2: emit cmd_ancestry data for Windows
  trace2: refactor Windows process ancestry trace2 event
  build: include procinfo.c impl for macOS
  trace2: add macOS process ancestry tracing
</content>
</entry>
<entry>
<title>trace2: emit cmd_ancestry data for Windows</title>
<updated>2026-02-13T20:18:31Z</updated>
<author>
<name>Matthew John Cheetham</name>
<email>mjcheetham@outlook.com</email>
</author>
<published>2026-02-13T19:54:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d7301487a38766109589b02309dac1be6490fa95'/>
<id>urn:sha1:d7301487a38766109589b02309dac1be6490fa95</id>
<content type='text'>
Since 2f732bf15e (tr2: log parent process name, 2021-07-21) it is now
now possible to emit a specific process ancestry event in TRACE2. We
should emit the Windows process ancestry data with the correct event
type.

To not break existing consumers of the data_json "windows/ancestry"
event, we continue to emit the ancestry data as a JSON event.

Signed-off-by: Matthew John Cheetham &lt;mjcheetham@outlook.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>trace2: refactor Windows process ancestry trace2 event</title>
<updated>2026-02-13T20:18:31Z</updated>
<author>
<name>Matthew John Cheetham</name>
<email>mjcheetham@outlook.com</email>
</author>
<published>2026-02-13T19:54:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c2a473b2b1b3b79e308a7cbed1eee46fb67aacd8'/>
<id>urn:sha1:c2a473b2b1b3b79e308a7cbed1eee46fb67aacd8</id>
<content type='text'>
In 353d3d77f4 (trace2: collect Windows-specific process information,
2019-02-22) we added process ancestry information for Windows to TRACE2
via a data_json event. It was only later in 2f732bf15e (tr2: log parent
process name, 2021-07-21) that the specific cmd_ancestry event was
added to TRACE2.

In a future commit we will emit the ancestry information with the newer
cmd_ancestry TRACE2 event. Right now, we rework this implementation of
trace2_collect_process_info to separate the calculation of ancestors
from building and emiting the JSON array via a data_json event.

Signed-off-by: Matthew John Cheetham &lt;mjcheetham@outlook.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mingw: teach dirent about symlinks</title>
<updated>2026-01-10T02:32:55Z</updated>
<author>
<name>Karsten Blees</name>
<email>karsten.blees@gmail.com</email>
</author>
<published>2026-01-09T20:05:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a4f4131aad8d2b176f83df628ee3a8d6e19ba6c'/>
<id>urn:sha1:8a4f4131aad8d2b176f83df628ee3a8d6e19ba6c</id>
<content type='text'>
Move the `S_IFLNK` detection to `file_attr_to_st_mode()`.

Implement `DT_LNK` detection in dirent.c's `readdir()` function.

Signed-off-by: Karsten Blees &lt;karsten.blees@gmail.com&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'gf/win32-pthread-cond-init'</title>
<updated>2025-12-16T02:08:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-12-16T02:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=72154ce4147e971b59e10d79648b114481703607'/>
<id>urn:sha1:72154ce4147e971b59e10d79648b114481703607</id>
<content type='text'>
Emulation code clean-up.

* gf/win32-pthread-cond-init:
  win32: pthread_cond_init should return a value
</content>
</entry>
<entry>
<title>win32: pthread_cond_init should return a value</title>
<updated>2025-11-20T22:46:05Z</updated>
<author>
<name>Greg Funni</name>
<email>gfunni234@gmail.com</email>
</author>
<published>2025-11-20T21:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=42aa7603aa752850c8ad89cca61e280dab520faf'/>
<id>urn:sha1:42aa7603aa752850c8ad89cca61e280dab520faf</id>
<content type='text'>
This value is not checked, but it must return to match POSIX

Signed-off-by: Greg Funni &lt;gfunni234@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: return error if SleepConditionVariableCS fails</title>
<updated>2025-11-20T22:45:26Z</updated>
<author>
<name>Greg Funni</name>
<email>gfunni234@gmail.com</email>
</author>
<published>2025-11-18T15:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2367c6bcd600882d0ea70d4f654c8cfa5c1f53ac'/>
<id>urn:sha1:2367c6bcd600882d0ea70d4f654c8cfa5c1f53ac</id>
<content type='text'>
If it fails, return an error.

Signed-off-by: Greg Funni &lt;gfunni234@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>compat/win32: fix -Wsign-compare warning in "wWinMain()"</title>
<updated>2024-12-06T11:20:01Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2024-12-06T10:27:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=709fdce0893f93464435841e0eb9f6df3fd73807'/>
<id>urn:sha1:709fdce0893f93464435841e0eb9f6df3fd73807</id>
<content type='text'>
GCC generates a warning in "headless.c" because we compare `slash` with
`size`, where the former is an `int` and the latter is a `size_t`. Fix
the warning by storing `slash` as a `size_t`, as well.

This commit is being singled out because the file does not include the
"git-compat-util.h" header, and consequently, we cannot easily mark it
with the `DISABLE_SIGN_COMPARE_WARNING` macro.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ps/environ-wo-the-repository'</title>
<updated>2024-09-23T17:35:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2024-09-23T17:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3eb66799593f3676d85ca66f9e3192a7db603805'/>
<id>urn:sha1:3eb66799593f3676d85ca66f9e3192a7db603805</id>
<content type='text'>
Code clean-up.

* ps/environ-wo-the-repository: (21 commits)
  environment: stop storing "core.notesRef" globally
  environment: stop storing "core.warnAmbiguousRefs" globally
  environment: stop storing "core.preferSymlinkRefs" globally
  environment: stop storing "core.logAllRefUpdates" globally
  refs: stop modifying global `log_all_ref_updates` variable
  branch: stop modifying `log_all_ref_updates` variable
  repo-settings: track defaults close to `struct repo_settings`
  repo-settings: split out declarations into a standalone header
  environment: guard state depending on a repository
  environment: reorder header to split out `the_repository`-free section
  environment: move `set_git_dir()` and related into setup layer
  environment: make `get_git_namespace()` self-contained
  environment: move object database functions into object layer
  config: make dependency on repo in `read_early_config()` explicit
  config: document `read_early_config()` and `read_very_early_config()`
  environment: make `get_git_work_tree()` accept a repository
  environment: make `get_graft_file()` accept a repository
  environment: make `get_index_file()` accept a repository
  environment: make `get_object_directory()` accept a repository
  environment: make `get_git_common_dir()` accept a repository
  ...
</content>
</entry>
</feed>
