"files would be overwritten by checkout" git-sync-deps script error

12 views
Skip to first unread message

Aitor Gomila

unread,
Apr 13, 2026, 12:28:08 PM (yesterday) Apr 13
to skia-discuss
Hi,

I've been getting this error when trying to run the `git-sync-deps` script from Skia the last days. I thought it was related to the outage but then the servers came back and the error is still happening.

I tried deleting the entire repo and doing a clean clone since this is an error related to git, but doing this changed nothing.

(...)
...p-src\third_party/externals/icu4x @ bcf4f7198d4dc5f3127e84a6ca657c88e7d07a13
...ep-src\third_party/externals/dawn @ 5e0b99b59ef8413b56aaf47477151c6a20de806a
error: The following untracked working tree files would be overwritten by checkout:
        .clang-format
        .clang-tidy
        .gitattributes
        .github/pull_request_template.md
        .gitignore
        .gn
        .style.yapf
        Android.bp
        Android.bp.extras
        BUILD
        BUILD.extras
        BUILD.gn
        CHANGELOG
        DIR_METADATA
        LICENSE
        METADATA
        MODULE_LICENSE_APACHE2
        OWNERS
        PRESUBMIT.py
        PerfettoIntegrationTests.xml
        README.chromium
        README.md
        TEST_MAPPING
        WORKSPACE
        bazel/BUILD
        bazel/deps.bzl
        bazel/jsoncpp.BUILD
        bazel/linenoise.BUILD
        bazel/llvm_demangle.BUILD
        bazel/proto_gen.bzl
        (...)

Aitor Gomila

unread,
Apr 13, 2026, 1:42:13 PM (yesterday) Apr 13
to skia-discuss
In Windows, there's a filepath limitation of 256 characters. Those files have very long names so they don't fit the limitation.
I could cirumvent the issue by moving the repo to the root: `C:\a\...` 
Reply all
Reply to author
Forward
0 new messages