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

Re: Push from an SSH Terminal

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 4, 2012, 07:47 UTC
Message-ID
<7vwr83hwg0.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120203213654.GD1890@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> On Fri, Feb 03, 2012 at 12:10:27PM -0500, Neal Groothuis wrote:
> ...
>> Check to see if the GIT_ASKPASS and/or SSH_ASKPASS environment variables
>> are set, and if the core.askpass config variable is set.  If any of these
>> are set, unset them.  Git should fall back to a simple password prompt.
>
> Hmm, yeah that is likely the problem. I was thinking git would fall back
> to asking on the terminal, but it does not. We probably should.

How well would it mesh with the goal of the ss/git-svn-prompt-sans-terminal topic, which is now stalled [*1*]? I do not mean this change and the other topic textually conflict with each other---but the philosophies of this topic and the other one seem to conflict. Not falling back to the terminal that is not available and failing the command outright might make more sense.

I dunno.
[Footnote]

*1* Will the topic see any action soon? I am inclined to throw the topic into "not even the original author is not interested" category otherwise.

Previous: Jeff KingNext: Jeff King
Message 9 of 12 in “Push from an SSH Terminal”
  1. Feanil PatelFeb 3, 2012
  2. Neal GroothuisFeb 3, 2012
  3. Feanil PatelFeb 3, 2012
  4. Neal GroothuisFeb 3, 2012
  5. Jeff KingFeb 3, 2012
  6. Jeff KingFeb 3, 2012
  7. 1/2 prompt: clean up strbuf usageJeff King, Feb 3, 2012
  8. 2/2 prompt: fall back to terminal if askpass failsJeff King, Feb 3, 2012
  9. Junio C HamanoFeb 4, 2012
  10. Jeff KingFeb 4, 2012
  11. Junio C HamanoFeb 4, 2012
  12. Jeff KingFeb 3, 2012

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.