wslgit: Can't use wslgit.exe with SmartGit 18

I’m using SmartGit on Windows 10 and I can’t get wslgit.exe working with this application. I get this error:

image

Any idea why this is happening? It works on the command line:

image

Am I doing something wrong?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 29 (15 by maintainers)

Most upvoted comments

The space should be ok, but the regexes is not considering double-quote character as invalid in a windows path, which it should. Unix filenames can have " but windows can not 😃 I’ll push a PR.

Hey guys, latest version v0.8.0 seems to have fixed all the problems for me, commit, push and pull seem to work fine now. I do not have [credential] section on my .gitconfig.

As soon as possible I’m going to test running npm scripts invoked by Git hooks and report back. If those work (I hope so and I believe they will), we can close this issue; unless someone else still has a problem.

Interesting, I didn’t know about the --file flag for commit. VS Code passes the commit message via stdin. But it should be possible to fix path translation to work also for this case. I’ll try when I have some spare time.

Well, too bad, but I get their point.

As I said, support for relative paths could be added, but it wouldn’t work with non-existing files. I’ll leave this issue open for now, maybe I, or someone else, finds some time to work on it.