imap-send: parse default git config
commit50212361d9487ac3005c3041fac0d6b4d999807a
authorNicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Tue, 1 Dec 2020 07:38:16 +0000 (1 08:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Dec 2020 19:10:59 +0000 (1 11:10 -0800)
tree327ed13f1613864bff90448f0af1848c7f82a568
parente67fbf927dfdf13d0b21dc6ea15dc3c7ef448ea0
imap-send: parse default git config

git imap-send does not parse the default git config settings and thus ignore
core.askpass value.
Rewrite config parsing to support core settings.

Reported-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c