git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
To: git@vger.kernel.org
Subject: Buffered value should be shown when requesting username for remote authentication
Date: Tue, 12 Sep 2017 18:17:29 +0530	[thread overview]
Message-ID: <1505220449.27800.23.camel@gmail.com> (raw)

Hello all,

I noted a little issue with the interaction to a remote git repository.
The issue occurs when the network used for remote communication is a
bit sluggish. The main issue is illustrated by the following shell
interaction,

    $ git push -u fork 
    sivaraamUsername for '    https://github.com'    : sivaraam
    Password for '    https://sivaraamsivaraam@github.com':     

    It's a little odd that the (buffered) input found before the request
    for 'Username' is also appended to the input found after the request.
    This might not be obvious to the user and he has to retype the
    'Username' in the next try.

    I have seen some utilities handle this correctly by doing something
    like,

    $ <some-utility> 
    sivaUsername for '    https://github.com'    : siva

        Further, unlike the request string, the buffered input that gets
        printed after the request was editable. I'm not able to recollect the
        <some-utility> correctly, though.

        Any ideas about how to fix this?

        -- 
        Kaartic

             reply	other threads:[~2017-09-12 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12 12:47 Kaartic Sivaraam [this message]
2017-09-12 15:33 ` Buffered value should be shown when requesting username for remote authentication Jeff King
2017-09-13  9:07   ` Kaartic Sivaraam

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=1505220449.27800.23.camel@gmail.com \
    --to=kaarticsivaraam91196@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).