]> git.ipfire.org Git - thirdparty/git.git/commit
imap-send: display port alongwith host when git credential is invoked
authorAditya Garg <gargaditya08@live.com>
Fri, 20 Jun 2025 06:40:31 +0000 (12:10 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jun 2025 15:11:17 +0000 (08:11 -0700)
commit2dacd35731d9d9947913eac991599ff000468cf3
treea26bfc7df30030484f65d2a23f07430701e1e66a
parent067a91b03f3216acf1248c0e540600f2af4038ae
imap-send: display port alongwith host when git credential is invoked

When requesting for passsword, git credential helper used to display
only the host name. For example:

    Password for 'imaps://gargaditya08%40live.com@outlook.office365.com':

Now, it will display the port along with the host name:

    Password for 'imaps://gargaditya08%40live.com@outlook.office365.com:993':

This has been done to make credential helpers more specific for ports.
Also, this behaviour will also mimic git send-email, which displays
the port along with the host name when requesting for a password.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imap-send.c