aws / git-remote-codecommit

An implementation of Git Remote Helper that makes it easier to interact with AWS CodeCommit
Apache License 2.0
271 stars 38 forks source link

Fails with space in directory name #44

Open james-garriss opened 1 year ago

james-garriss commented 1 year ago

When using git-remote-codecommit to fetch or push code (or presumably any other command), I get this error:

fatal: 'remote-codecommit' appears to be a git command, but we were not
able to execute it. Maybe git-remote-codecommit is broken?
make: *** [git-push] Error 128

The problem is that my directory had a space:

/Users/myname/Documents/Coding/AWS CDK/myproject

When I removed the space from "AWS CDK" directory, it worked.

Please fix this package to support spaces in directory names.

(This is on macOS.)

sohang3112 commented 1 year ago

@james-garriss I tried this (cloning a repo inside a path having space) on Windows, it's working fine there. Maybe this issue is specific to MacOS.