Merge branch 'skip-rust-in-the-coverity-builds'

This branch fixes the `coverity` workflow after the Rust part of Git's
build has turned from opt-in to opt-out.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2026-06-23 19:34:29 +02:00
2 changed files with 6 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ jobs:
COVERITY_PROJECT: ${{ vars.COVERITY_PROJECT || 'git' }}
COVERITY_LANGUAGE: cxx
COVERITY_PLATFORM: overridden-below
NO_RUST: Yup
steps:
- uses: actions/checkout@v6
- name: install minimal Git for Windows SDK

View File

@@ -1660,14 +1660,14 @@ struct tm *localtime_r(const time_t *timep, struct tm *result)
char *mingw_strbuf_realpath(struct strbuf *resolved, const char *path)
{
wchar_t wpath[MAX_PATH];
wchar_t wpath[MAX_LONG_PATH];
HANDLE h;
DWORD ret;
int len;
const char *last_component = NULL;
char *append = NULL;
if (xutftowcs_path(wpath, path) < 0)
if (xutftowcs_long_path(wpath, path) < 0)
return NULL;
h = CreateFileW(wpath, 0,
@@ -3926,16 +3926,16 @@ static int acls_supported(const char *path)
int is_path_owned_by_current_sid(const char *path, struct strbuf *report)
{
WCHAR wpath[MAX_PATH];
WCHAR wpath[MAX_LONG_PATH];
PSID sid = NULL;
PSECURITY_DESCRIPTOR descriptor = NULL;
DWORD err;
static wchar_t home[MAX_PATH];
static wchar_t home[MAX_LONG_PATH];
int result = 0;
if (xutftowcs_path(wpath, path) < 0)
if (xutftowcs_long_path(wpath, path) < 0)
return 0;
/*