Open fzakaria opened 7 hours ago
Interesting, we haven't had a customer using a non-git VCS yet. PRs welcome of course.
As a workaround, you could query jj for the files that are meant to be formatted and pass them as arguments with xargs
. The format command only queries git ls-files
when there are no arguments of which files to format.
@alexeagle jj
is the equivalent to fig
a bit internally at Google (in theory); I've been enjoying using it.
What happened?
I have been using jujutsu https://github.com/martinvonz/jj which is a Git-compatible DVCS. Unfortunately format and format.check only work if it's a git repository.
There should be a fallback where it just runs on all the files.
Version
How to reproduce
No response
Any other information?
No response