[BUG] git imap-send does not honor 'core.askpass'
- From
Philippe Blain <levraiphilippeblain@gmail.com>
- Date
- Nov 24, 2020, 15:20 UTC
- Message-ID
- <76d2be10-0c42-70f4-101c-ee15e3039821@gmail.com>
Hi all,
I've just noticed that 'git imap-send' does not look at the core.askpass config variable, because it does not call git_default_config. Setting 'GIT_ASKPASS' in the environment works, though.
I've CC'ed people that seem to have been involved in adding credential support for imap-send (git log --grep credential --grep imap-send --all-match).
Cheers,
Philippe.