Re: [Wishlist] could git tell which password it is asking when asking a password.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 01, 2011 at 01:30:49PM -0700, Junio C Hamano wrote:

> Rémi Vanicat <vanicat@xxxxxxxxxx> writes:
> 
> > I also believe that having the host name would be useful, both for human
> > (another example would be git remote update when there are several
> > remote) and script.  
> 
> Patches welcome, but I have to warn you that the code may _not_ know the
> URL at that point in the callchain.

Yeah, you have to save it; the simplest time is when we parse the
username+password bits out of the URL during http_auth_init, and then
pass it through to git_getpass.

But see the patch series I just mentioned elsewhere in the thread. Right
now it still uses "Password:" for http authentication, but it would be a
one-liner to have it use "Password for 'user@xxxxxxxxxxx':".

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]