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

Re: Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
May 6, 2017, 17:18 UTC
Message-ID
<1494091082.24179.9.camel@kaarsemaker.net>
In-Reply-To
<CAOqCAXSOZCG8mijV+yATtmC1PFGYiOSqtraSdbhbP2rRHBO_Qg@mail.gmail.com>
On Wed, 2017-05-03 at 14:51 +0530, Rashmi Pai wrote:
> I am a corporate user of git. I noticed that when you switch between
> the branches and do a git stash ( I miss spelled it as git stahs). Git
> asked if i meant git stash. and i entered yes. and git printed the
> character y infinite times.
Hi Rashmi,

While git asks the question 'Did you mean stash', that question is merely rhetorical, it does not expect an answer but exits. So what you're seeing is the output of the shell builting 'yes', not output from git.

D.
Previous: Rashmi Pai
Message 2 of 2 in “Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.”
  1. Rashmi PaiMay 3, 2017
  2. Dennis KaarsemakerMay 6, 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.