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

Potentially support multiple instances of jot simultaneously #4

Open
Utagai opened this issue Jul 23, 2022 · 0 comments
Open

Potentially support multiple instances of jot simultaneously #4

Utagai opened this issue Jul 23, 2022 · 0 comments

Comments

@Utagai
Copy link
Owner

Utagai commented Jul 23, 2022

Right now, if you are editing one document via jot and wish to open another one jot will complain about the directory being dirty:

Error: base-dir (/home/bob/foo/bar) is not clean, please fix the issue and run jot again

This can be annoying, but it isn't clear how to approach this, since if we don't enforce this, edits for both documents will get committed. It is possible that we made the wrong design choice initially -- we shouldn't stage everything for commit, but just the file you opened with $EDITOR. The problem with this of course is that you may have added other things as well, like an image file referenced in Markdown which wouldn't be captured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant