CodeEditApp/CodeEdit

๐Ÿž Source control gives error when directory name has a space in it

Closed this issue ยท 0 comments

Description

If the path has a space in it, the "Commit" button never becomes enabled. Likewise, if a file is modified outside of CodeEdit and has a space somewhere in the path, attempting to discard changes yields: "fatal: /Users/scott/Documents/Home: '/Users/scott/Documents/Home' is outside repository at '/Users/scott/Documents/Home Automation/pi-setup'"

To Reproduce

  1. Have a directory with a space in it.
  2. Edit a file.
  3. Go to source control tab, enter a commit message.
  4. See that the commit button isn't enabled.

Expected Behavior

I expected the commit button to be enabled.

Version Information

CodeEdit: 0.3.0
macOS: 14.6.1
Xcode: N/A

Additional Context

No response

Screenshots

No response