Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Uses git-credential for git-imap-send

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:00:55

Jeff King [off-list ref] writes:
On Mon, Apr 28, 2014 at 08:00:04PM -0700, Dan Albert wrote:
quoted
quoted
I noticed that we are just filling in the password here, since we'll
always fill cred.username from srvc->user. The lines directly above are:

        if (!srvc->user) {
                fprintf(stderr, "Skipping server %s, no user\n", srvc->host);
                goto bail;
        }

That comes from the imap.user config variable. I wonder if we should
just pass it off to credential_fill() in this case, too, which will fill
in the username if necessary.
[...]

Yeah, doubtful anyone cares, but it's simple enough to do.
Thanks, I think the result looks good.

Acked-by: Jeff King <redacted>
OK, luckily I haven't merged the one from the yesterday yet, so I'll
replace ;-)

Thanks for working on this, Dan, and as always thanks for reviewing,
Peff.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help