Set an environment variable GIT_IMERGE while git-imerge is running.

Subprocesses (especially git hook scripts) can alter their behavior
based on this value.