Kate on Windows with Git from MSYS2

Hi guys,

I’m trying to use Kate on Windows 11 and I’m having some trouble getting the git integration to work.

I have git installed through MSYS2 instead of Git for Windows, which I’m assuming is the problem. But I’d really like to try not to install G4W.

I can open up a CMD prompt, run git, run git init, and run clone commands fine.

But when I open a file in Kate that resides in a git repository, I see this error in the Output window:

[16:39:01 Git Info] Process failed to start: The directory name is invalid.

I’m assuming this has something to do with MSYS2’s translation of Windows paths, but regular windows-style paths seem to work fine with git in CMD.

Not sure where to go from here, or whether this is a bug.