You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐞 History Inspector is empty if the git repo doesn't have a remote defined #1743
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.
Activity
austincondiff commentedon Jun 3, 2024
Is this issue what you are referring to here?
Edit: I see that it is not. But it is somewhat related. We just need to handle this better in both scenarios.