Skip to content

"git cl" has started failing on Windows #59674

@DanTup

Description

@DanTup

Today I'm unable to run git cl, it fails with a printed path that looks like backslashes are being ignored/treated as escapes somewhere:

PS D:\Dev\Google\dart-sdk\sdk> git cl
/bin/bash: D:DevGoogledepot_tools\git-cl: No such file or directory

I don't know if this has something to do with the unbundling of Git from depot_tools, but I do have a working git (which is presumably trying to invoke git-cl from git):

PS D:\Dev\Google\dart-sdk\sdk> git --version
git version 2.45.1.windows.1

I can't find any issue tracker for depot_tools so I don't know if this is a good place to report this, but I'm hopeful if not someone can point me in the right direction.

I tried adding print/echos to the top of git-cl and git_cl.py but neither of them show up, so at this point I'm not even sure if this is a depot_tools issue - perhaps Git is failing to invoke git-cl. I don't know if there was some difference with the bundled version of Git versus the version I have (my version is bundled with GitHub Desktop).

(@athomas do you know anything about how this works and how I might debug further?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-google3Tracking issues for internal work. Note that this area is not triaged.triage-automationSee https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions