AFAIK git has only a single configuration entry for an editor, which is used both for commit messages and for diff editing. In scenarios of the latter type olme is not helpful at all.
Find a way to either
- configure git to use olme for commit messages and nothing else (this is the preferred way)
- safely detect that the edited file is not a commit message and run the fallback editor immediately
AFAIK git has only a single configuration entry for an editor, which is used both for commit messages and for diff editing. In scenarios of the latter type olme is not helpful at all.
Find a way to either