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

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

From
RPRashmi Pai <rashmipai36@gmail.com>
Date
May 3, 2017, 09:46 UTC
Message-ID
<CAOqCAXTN6_dR=+As_i6yxOL+A3dOzs4bM5Lzbj6qzyT_3ecRcw@mail.gmail.com>

Hi, 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.

Below are the steps to reproduce.
1. create a local branch and make some code changes in the same branch.
2. now checkout another branch. git says Your local changes to the
following files would be overwritten by checkout.
3. Now do git stahs ( spelling mistake )
4. Now git says git: 'stahs' is not a git command. See 'git --help'.
Did you mean this?
stash
5. Now types yes. and you will see character 'y' getting printed
infinite times!.

Though this is not a major bug, I thought notifying this would be a good idea. The above mentioned issue is reproducible in Mac Yosemite in git version 2.4.5

Thank you all for making our lives easier and better :)..
-- 
REGARDS
Rashmi Pai :)
Next: Jeff King
Message 1 of 3 in “Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.”
  1. Rashmi PaiMay 3, 2017
  2. Jeff KingMay 3, 2017
  3. Junio C HamanoMay 4, 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.