All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <git@vger.kernel.org>
Subject: Improving git's password prompt
Date: Mon, 11 May 2020 16:39:43 +0200	[thread overview]
Message-ID: <5EB963AF020000A100038ECE@gwsmtp.uni-regensburg.de> (raw)

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





             reply	other threads:[~2020-05-11 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 14:39 Ulrich Windl [this message]
2020-05-11 15:34 ` Improving git's password prompt 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5EB963AF020000A100038ECE@gwsmtp.uni-regensburg.de \
    --to=ulrich.windl@rz.uni-regensburg.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.