{"thread":{"id":"45856","subject":"Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.","startedAt":"2017-05-03T09:21:47Z","lastAt":"2017-05-06T17:18:09Z","messageCount":2,"participants":["Rashmi Pai","Dennis Kaarsemaker"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"318610","messageId":"CAOqCAXSOZCG8mijV+yATtmC1PFGYiOSqtraSdbhbP2rRHBO_Qg@mail.gmail.com","threadId":"45856","inReplyTo":null,"subject":"Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.","fromName":"Rashmi Pai","fromEmail":"rashmipai36@gmail.com","sentAt":"2017-05-03T09:21:39Z","receivedAt":"2017-05-03T09:21:47Z","isPatch":false,"sender":{"key":"rashmipai36@gmail.com","avatar":null},"body":"Hi,\nI am a corporate user of git. I noticed that when you switch between\nthe branches and do a git stash ( I miss spelled it as git stahs). Git\nasked if i meant git stash. and i entered yes. and git printed the\ncharacter y infinite times.\n\nBelow are the steps to reproduce.\n1. create a local branch and make some code changes in the same branch.\n2. now checkout another branch. git says Your local changes to the\nfollowing files would be overwritten by checkout.\n3. Now do git stahs ( spelling mistake )\n4. Now git says git: 'stahs' is not a git command. See 'git --help'.\n\nDid you mean this?\n\nstash\n\n5. Now types yes. and you will see character 'y' getting printed\ninfinite times!.\n\nThough this is not a major bug, I thought notifying this would be a\ngood idea. The above mentioned issue is reproducible in Mac Yosemite\nin git version 2.4.5\n\nThank you all for making our lives easier and better :)..\n\n-- \nREGARDS\nRashmi Pai :)\n"},{"id":"318937","messageId":"1494091082.24179.9.camel@kaarsemaker.net","threadId":"45856","inReplyTo":"CAOqCAXSOZCG8mijV+yATtmC1PFGYiOSqtraSdbhbP2rRHBO_Qg@mail.gmail.com","subject":"Re: Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.","fromName":"Dennis Kaarsemaker","fromEmail":"dennis@kaarsemaker.net","sentAt":"2017-05-06T17:18:02Z","receivedAt":"2017-05-06T17:18:09Z","isPatch":false,"sender":{"key":"dennis@kaarsemaker.net","avatar":"https://avatars.githubusercontent.com/u/200649?v=4"},"body":"On Wed, 2017-05-03 at 14:51 +0530, Rashmi Pai wrote:\n\n> I am a corporate user of git. I noticed that when you switch between\n> the branches and do a git stash ( I miss spelled it as git stahs). Git\n> asked if i meant git stash. and i entered yes. and git printed the\n> character y infinite times.\n\nHi Rashmi,\n\nWhile git asks the question 'Did you mean stash', that question is\nmerely rhetorical, it does not expect an answer but exits. So what\nyou're seeing is the output of the shell builting 'yes', not output\nfrom git.\n\nD.\n"}]}