Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open editor running inside vscode is broken #184

Closed
extrawurst opened this issue Jul 7, 2020 · 2 comments
Closed

open editor running inside vscode is broken #184

extrawurst opened this issue Jul 7, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@extrawurst
Copy link
Owner

it simply shows an empty file:
Screenflick Movie 47

opening same file through running gitui in terminal works.
the editor functionality to edit commit messages is not affected.

related to #173

@extrawurst extrawurst added the bug Something isn't working label Jul 7, 2020
@jonstodle
Copy link
Contributor

The path at the bottom of Vim looks correct. But it does say New DIRECTORY, which might be a clue. (I think Vim shows New DIRECTORY if you "open" a non-existant location.

Could it be that VS Code somehow sets a different work directory for vim, than the repository root? And that way vim tries to open a different location?

@extrawurst
Copy link
Owner Author

Ok it actually turns out not to be limited to vscode, simply run gitui in a subfolder of your repo and it will stop working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants