git-copy-history
git-copy-history copied to clipboard
Spaces in the path
I have a path that includes spaces.
I tried different options:
git-copy-history from /Volumes/MY PASSPORT/Documents
git-copy-history from /Volumes/MY\ PASSPORT/Documents
I tried to create a variable with the path:
PATH_WITH_SPACES ="/Volumes/MY PASSPORT/Documents"
git-copy-history from "$PATH_WITH_SPACES"
it works for a cd command, but still fails for the git-copy-history
Error: Command failed: cd /Volumes/MY PASSPORT/Documents && git config user.name
/bin/sh: line 0: cd: /Volumes/MY: No such file or directory
at checkExecSyncError (child_process.js:629:11)
at execSync (child_process.js:666:13)
at getHistory (/Users/kirill/.nvm/versions/node/v10.19.0/lib/node_modules/git-copy-history/index.js:47:16)
at Object.from (/Users/kirill/.nvm/versions/node/v10.19.0/lib/node_modules/git-copy-history/index.js:135:17)
at module.exports (/Users/kirill/.nvm/versions/node/v10.19.0/lib/node_modules/git-copy-history/index.js:165:13)
at Object.<anonymous> (/Users/kirill/.nvm/versions/node/v10.19.0/lib/node_modules/git-copy-history/cli.js:28:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)`