git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Buffered value should be shown when requesting username for remote authentication

From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Date
Sep 12, 2017, 12:47 UTC
Message-ID
<1505220449.27800.23.camel@gmail.com>
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
Next: Jeff King
Message 1 of 3 in “Buffered value should be shown when requesting username for remote authentication”
  1. Kaartic SivaraamSep 12, 2017
  2. Jeff KingSep 12, 2017
  3. Kaartic SivaraamSep 13, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.