All of lore.kernel.org
 help / color / mirror / Atom feed
* Improving git's password prompt
@ 2020-05-11 14:39 Ulrich Windl
  2020-05-11 15:34 ` Jeff King
       [not found] ` <14266_1589211256_5EB97078_14266_88_1_20200511153416.GB1415@coredump.intra.peff.net>
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Windl @ 2020-05-11 14:39 UTC (permalink / raw)
  To: git

Hi!

I'm aware that most repositories use "open HTTP" or SSH public key authentication, but for the few cases where SSH with password is being used, there is a minor probem like this:
---
tester@host:~/iredir> git fetch
Password:
---

Now if you are working busily with the project you probably know where the repository came from, what the username and password is, but if you haven't worked with the repository for a while, it might be helpful to see the username and host (the part up to ':' in the display of "git remote -v", e.g.: "windl@server") with the password prompt to select the correct password.

So my proposal would be "Password for user@host:" instead of just "Password:".

Problem seen in git 2.26.1...

Regards,
Ulrich





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-12  5:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 14:39 Improving git's password prompt Ulrich Windl
2020-05-11 15:34 ` Jeff King
     [not found] ` <14266_1589211256_5EB97078_14266_88_1_20200511153416.GB1415@coredump.intra.peff.net>
2020-05-12  5:42   ` Antw: [EXT] " Ulrich Windl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.