Overriding editor with b4 prep --edit-cover

Alice Ryhl <[email protected]>
Newsgroups org.kernel.linux.tools
Message-ID <CAH5fLghw=fjJoWe3pt0QWVKpYXc_SzKmhYZdapkfWBOD9=1+rQ@mail.gmail.com>
I want to invoke b4 prep --edit-cover with a different editor than the
one configured by default for automation purposes. I tried various
things such as changing configuration variables EDITOR, GIT_EDITOR,
etc. I also tried

b4 prep --config core.editor=<cmd> --edit-cover

However, no matter what I tried, b4 just opens up NVIM as is
configured in .gitconfig.

Is there a way to override the editor?

Alice
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.