-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Description
If I open a folder in CodeEdit that is under version control with Git, but which doesn't have a remote, the History Inspector view for any file is empty.
To Reproduce
- Create a local test repo:
mkdir test && cd test git init . echo Hello world > test.txt git commit -am "First commit" - Open the folder you created in CodeEdit
- Open test.txt
- Open the Inspector view and select the History Inspector tab
Expected Behavior
I should see a single commit for test.txt in the History Inspector
Version Information
CodeEdit: 0.1.0-dev (38)
macOS: 14.5
Xcode: 15.4
Additional Context
I'm pretty sure it's because this line is causing getCommitHistory to throw if there's no remote defined.
Screenshots

Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🏁 Complete