)]}'
{
  "commit": "79ac6eff39af19b8a1f63a5ff9320dc9d7579fcf",
  "tree": "ae48a9ea8adb7b57d1a476c0dbd05726bc6a5544",
  "parents": [
    "e9019fcafe0040228b8631c30f97ae1adb61bcdc"
  ],
  "author": {
    "name": "Yongqiang Tian",
    "email": "yqtian668@gmail.com",
    "time": "Tue Sep 22 09:47:56 2026 +1000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Sep 21 17:15:04 2026 -0700"
  },
  "message": "compat/winansi: fix die_lasterr() argument formatting\n\nDuring WinANSI initialization, duplicate_handle() reports the handle\nwhen DuplicateHandle() fails. die_lasterr() collects the formatting\narguments in a va_list, but passes that va_list to die_errno() as an\nordinary variadic argument. die_errno() consequently formats part of\nthe va_list representation instead of the supplied handle, producing\nan incorrect fatal message.\n\nThe helper also converts GetLastError() to errno, losing the exact\nWindows error code.\n\nRemove die_lasterr() and report GetLastError() directly at its four\ncall sites, following the existing Windows diagnostic style. This\npasses the handle to the formatter correctly and preserves the Windows\nerror code. Keep the existing %li representation of the handle.\n\nHelped-by: Johannes Sixt \u003cj6t@kdbg.org\u003e\nHelped-by: René Scharfe \u003cl.s.r@web.de\u003e\nSigned-off-by: Yongqiang Tian \u003cyqtian668@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3ce190093901b4b208864ba72644b069feafaacf",
      "old_mode": 33188,
      "old_path": "compat/winansi.c",
      "new_id": "088734a1dfa8f71cc071916fbd6af33366be2d5f",
      "new_mode": 33188,
      "new_path": "compat/winansi.c"
    }
  ]
}
